|
|
|
|
|
by phist_mcgee
1018 days ago
|
|
React is orders of magnitude more embedded than jQuery ever was. On top of that, the breadth and depth of its complexity and ecosystem and the solutions it helped build means it's really not going away in a hurry. Updating a 2013 site from jQuery to Angular was small potatoes compared to updating a site now from react to react2. |
|
Its complexity and ecosystem will be its Achilles Heel. There are no small number of examples of folks rewriting their React apps in weeks or even a weekend in something like Svelte. SolidJS is "close enough" in code patterns that folks will be very tempted to jump ship. Vue now has a JSX option.
But here's the kicker: frameworks like Svelte don't need wrappers around vanilla JS libraries like React has. It can use them, but it doesn't need them like React does due React's VDOM and execution model.
In 2012, jQuery and jQuery plug-ins were everywhere and necessary. YUI was dead/dying. Mootools and PrototypeJS were already quite dead. That inertia couldn't stop React despite the rewrites.
Because let's face it. We love rewriting front ends, and every rewrite erases the past. No one's gonna choose a rewrite in React if they have any notion of the alternatives.