3 ms·
React is a pretty simple concept (with, perhaps, a complex implementation) reified in a library. It's basically componentized state machines for UI rendering. C
by auganov 10y ago
React is a pretty simple concept (with, perhaps, a complex implementation) reified in a library. It's basically componentized state machines for UI rendering. Comparing it to general "web frameworks" is completely missing the point. Granted, some people do [often needlessly] install a lot of react-whatevers for everything from routing to mysql fetching (yep).
I can see it being replaced by another library with a similar underlying philosophy that just does it better, but I don't really see how the general idea would vanish soon.
And btw Facebook uses it a lot on the web too (not just the often mentioned Ad Manager), messaging (and messenger.com) is basically all React and other components are a mix. Download the React Devtool to check it out, they don't obfuscate the React tree at all. Pretty fun to browse.