Hacker News new | ask | show | jobs
by TheStrazz 2218 days ago
Hi, I'm one of the founders of the movement. We talked about that a lot but it's not easy to define a framework in a specific way. For example, React is a library. But I think that most of the time people use it as a Framework. If you have some ideas on how to express this thing in the manifesto PR are welcome!
1 comments

I like the "your code calls libraries, frameworks call your code" description.

React is a library because you can have websites with as many render roots as you want. You can use it only for small parts of the site/app, control all of the props from the outside, etc.

People use it as a framework because they take the SPA route with a single root. Usually a bundler even generates the HTML file for them, tying the entire app to a single render call.