3 ms·
I will say this. React popularized good ideas at the start. `View is a function of state`, that's a great paradigm to build UI on. It makes a lot of things simp
by nojvek 6y ago
I will say this. React popularized good ideas at the start. `View is a function of state`, that's a great paradigm to build UI on. It makes a lot of things simpler. Other frameworks like Vue, svelte, snabbdom all do very similar things.
The current iteration of React with hooks, fibers, synthetic events is a tirefire. There's a lot of `It's Facebook so it must be good` hype without questioning whether all that complexity even makes sense.
Gzipped React + ReactDom = ~50KB. Unzipped is ~200KB. That's nuts and plain inefficient. A low powered device will take half a second to load and parse that crap before it even does a first paint.
If you care about performance, React is no longer the tool. Svelte and Preact (4k gzipped) are way better alternatives.
Stay away from it. If it's a simple app/web page, just use vanilla js. The core DOM API has good cross browser compatibility nowadays. You don't even need jQuery.
React is a jack of all trades but master of none. Don't equate Frontend Development === React.