Hacker News new | ask | show | jobs
by gerardnico 562 days ago
A framework is declarative. You declare what you want. Generally in a configuration file and you get an app.

A library does not impose any configuration. I don’t see any required configuration with React. You can use it wherever you want in your code as an addition.

My piece on that: https://datacadamia.com/code/design/library_vs_framework

1 comments

Genuinely curious if you could point to some examples of actual "frameworks" by your definition then. Because from your description, Rails, Django, Laravel, Phoenix, Vue.js, and basically every other "framework" I've encountered aren't actually frameworks.