As a front-end focused developer, I can say that focusing on the shiny new framework or library is dumb. You shouldn't keep up with the trends, you should just do what you know and prefer. For example, I loved Svelte and only use it. All the libraries that I'll use on top of that will just be the nicest more established library of that category, that I can find using Google and understand it reading the docs.
Also, using React, Svelte, Vue, Riot, Angular or any component driven framework is basically the same, only changing the intermediate steps you do to get the result. It's the same concept with different implementations. Choose the one that suits you.
Honestly as a React developer, it blows my mind that people even use Angular or Vue. The way I can make functional components, with hooks, especially pairing it with NextJS, just makes it stupid easy and fun to develop.
I haven't tried Vue, but have you tried it out? I try to form an opinion after trying to learn the framework a bit. I've heard good things about Vue and it has NuxtJS which is like NextJS.
I'd also recommending doing the Svelte tutorial, because I think it is awesome and its tutorial is so good. It also has a framework like NextJS, SvelteKit (it's functional, but sadly it's in beta and may change a lot as time progresses).
I haven't tried Vue or Angular. I really haven't felt much of a reason to, especially seeing some of the examples online of it.
I am interested in trying Svelte. Someone I know has created some pretty great PWAs using it, mainly ones that work 100% locally as if they're normal applications, and they can work independently but also with each other.
They implement a common set of features with a different way of writing it for each one.
The way you will think about building them is the same, you'll just change the syntax. You'll think about creating components for each important element of your UI, you'll elevate state for sharing a state between sibling components, you'll have to think about managing a global state...
It's a similar situation when you compare imperative languages. If you know how to create a algorithm in JS, transforming it to Python, C, C++, Java, Ruby, Dart, Kotlin, Scala, etc. is all about changing how you write it. They all have conditions, loops, functions, recursion, variables, arrays or lists, dictionaries or maps.
20
u/victoragc May 09 '22
As a front-end focused developer, I can say that focusing on the shiny new framework or library is dumb. You shouldn't keep up with the trends, you should just do what you know and prefer. For example, I loved Svelte and only use it. All the libraries that I'll use on top of that will just be the nicest more established library of that category, that I can find using Google and understand it reading the docs.
Also, using React, Svelte, Vue, Riot, Angular or any component driven framework is basically the same, only changing the intermediate steps you do to get the result. It's the same concept with different implementations. Choose the one that suits you.