Hacker News new | ask | show | jobs
by Alex3917 1689 days ago
React isn't a framework. A more appropriate comparison would be Angular vs Next.js:

https://www.npmtrends.com/@angular/core-vs-next

But yeah, I wasn't trying to reply that React isn't still popular.

2 comments

I don’t think the distinction between framework and library matters that much. People choose between react or angular (or others).
That sounds reasonable, but the comparison becomes an issue if there are vastly more people using React for small hobby projects that aren't meant to be businesses, or for things that aren't even web apps.
Why would that matter?
We are getting into nerdy arguments. React is by far a framework, as every library that you use will be highly influenced by its constructs and rendering engine, be it React Router, Redux, or others from the Hooks ecosystem. Many say it is just a library, but in practice, when trying to bring JS vanilla libraries, there's always that edge case where it conflicts with the virtual DOM.