4 ms·
Geez... I consider React already in the decline. It can get out of the way. There are much better options like Sveltekit and Vue now.
by gompertz 4y ago
Geez... I consider React already in the decline. It can get out of the way. There are much better options like Sveltekit and Vue now.
- jemmyw 4y agoMatter of opinion though. I decided a few months ago to try some different frameworks and libraries etc. I had a project in mind that was more than trivial. I did like sveltekit. I do like vue. But I can't get over how much further and faster I was able to get up and running with react. With svelte I ran into an issue, I'm sorry it was a few months ago and I forget exactly what it was. I spent hours trying to get around it, and then read online others had the same issue and it just wasn't catered for. Whatever it was, it was frustrating enough that I just gave up. I tried a bunch of different libraries as well. One nice thing about react is that you get to choose from a variety of interesting state managers on top. Yes, svelte just worked (except when it didn't) but actually the constraints of each state library helped with structure. I'll look at svelte again next year, but if I was starting a new product right now I'd go for what works, has the best ecosystem and most familiarity with developers - react. The alternatives have some pros but are not yet compelling enough (excepting some more server side driven solutions but that's out of context).
- satvikpendem 4y agoThis is why I switched from Vue to React. The library support is just not there compared to React. Never discount network effects in programming (or elsewhere). Even if one might think a solution is worse (and I definitely don't think React is worse than Vue or Svelte, on the contrary I think it's much better), you might simply have to switch for the fact that you can get stuff done a lot faster and in a more production scale environment (better maintained libraries with a larger community instead of only one option whose last commit was 2 years ago) if you go with the most popular language, library, or framework.
- satvikpendem 4y agoNah, React is quite simple. It doesn't have much complexity to it as a base library. Yes hooks have some gotchas but once you understand their design (that they are functions with a built-in memory of lifecycle state), they're easy to grasp. Svelte and Vue on the other hand, they have multiple ways of doing things and have their own HTML DSL. You couldn't pay me to write another v-for or #if again.