What's the difference between a library and a framework?
Ben Halpern Oct 7
Having a look at this comment by @kayis from another thread, I'm wondering if you agree with this statement?
People have different definitions for library and framework
One definition I know is:
- a framework is a software where you plug your code into
- a library is a software that you plug into your code
In terms of this definition, React is a framework.
But some people, especially in the front-end world, say a framework has to bring stuff like routers and/or widgets etc. pp.
So Angular, Ember.js and ExtJS are frameworks, but React isn't, because it only gives you the means to build components and render them into the DOM.
Yes? No? Why?