Hacker News new | ask | show | jobs
by hoofhearted 1106 days ago
React is a component library, Angular is a framework.

We don’t really compare them apples to apples at work because they serve two different use cases.

2 comments

This is a heavily outdated opinion. The "default" react experience nowadays is Next.js and that is definitely a framework not a library.
React is a component library.

Angular.js is a framework.

Next.js is also a framework.

Comparing apples to apples, then you should compare Angular.js to Next.js, and not React.

Isn't next.js a server side framework? How can you compare server side framework with frontend framework? It's the same (silly) way you'd compare PHP with HTML!
React is a component library.

Next.js is a framework.

Angular is both a component library AND a framework.

Agreed, although NextJS is still a lot lighter to me than angular
The author is talking about Angular.js, which the legacy version 1.x, and not the modern Angular 2+.