Get rid of React.js and get your job done faster
Seriously. It's went too far already. React is everywhere. It's position number one in frontend developer requirements. But it sucks. That's just a buzzword.
Here are few topics why it's bad:
- It utilizes JSX which is neither JS, nor HTML but a mess of both
- You can't run it directly and you need to transpile it with webpack/babel and other tools
- It forces you write tons of code.
- It produces a mess of components and it's
- It generates SPA, which is not search-engine friendly. If you want to be indexed you either need to make Server Side Rendering with Node.js, or just build public parts on Wordpress or website constructors.
- It's slow. Slow before first render, and slow navigating
- Callbacks everywhere. Callbacks passed through 3 layers of components. Callbacks returning callbacks.
I have collected here a bunch of articles and videos with opinioins of expirienced frontend developers and more detailed arguments. Check it out in Blog section
But what instead?
If you don't need SPA - just render pages on your backend. I personally am a fan or Ruby on Rails. Their Hotwire together with CableReady, stimulus_reflex make it easy to build fast modern and awesome web apps with very few or no javascript.
If you are sure you need SPA - check out Svelte or Vue.js or classic - Angular