3 ms·
And yet, entire startups have been created and acquired during that time, many using React and many using hooks. It appears this "fundamental problem" is far fr
by chatmasta 4y ago
And yet, entire startups have been created and acquired during that time, many using React and many using hooks. It appears this "fundamental problem" is far from a show-stopper. Ultimately, that's why people like React: it gets the job done. The API is small and extremely stable. The last major breaking change was hooks, and that wasn't really even a breaking change - just a new paradigm that you should move to eventually (class components do still technically work!)
Honestly, by the time class components are fully deprecated, you'll probably be able to ask ChatGPT to rewrite your codebase to use hooks instead...
- epolanski 4y agoThe api is anything but small.
- christophilus 4y agoIt’s pretty small compared to most UI frameworks I’ve seen.
- selfmodruntime 4y agoReact features 13 top level functions and 11 hooks. That remains an extremely small API for a frontend framework.
- epolanski 4y agoIt's a library, not a framework. Add a router like react-router and you have another 20 apis. Add on top of that a state manager, even small ones, and you're adding another 10/15 apis.
- chatmasta 4y agoThat's irrelevant to your original claim that React is not a small API. btw, have you seen the DOM API? It's huge!
- JoeyJoJoJr 4y agoWell, what compatible library would you consider small?