4 ms·
Starting from the introduction of hooks all react updates have been going backward. The biggest benefit of react for me always been it's brutal conceptual simp
by wetpaws 5y ago
Starting from the introduction of hooks all react updates have been going backward.
The biggest benefit of react for me always been it's brutal conceptual simplicity. It's been a reliable tool and now it turned into the monster.
- danabramov 5y agoIt's a fair criticism! From our point of view, this is not really true if you consider the scope of the problems that are being solved. Sure, React itself was very simple, but implementing common patterns (like code splitting, coordinating loading indicators) was difficult, and some things (like streaming HTML while waiting for data) were downright impossible. If you compare React today vs old React + all the stuff you have to add for this, you might find that React today gains a lot of powerful features from very few primitives (like startTransition and Suspense). It might read densely in a blog post though, I get that.
- ng12 5y agoHooks have made my life simpler. HoCs were a nightmare and I'm glad to be rid of them.
- ZephyrBlu 5y agoHooks are conceptually much simpler than lifecycles.