CodeNewbie Community

loading...

What's the difference between libraries and frameworks?

sheaheyhey profile image Shea ・1 min read

Can anyone help me out with this? Some of what we call frameworks are actually libraries, right? So, what's the difference?

Discussion (1)

pic
Editor guide
Collapse
juanfrank77 profile image
Juan F Gonzalez

Well, without going into the technicalities of this, a library is a set of functions and utilities we use to make common tasks simpler and to build on top of existing tools.
A framework, on the other hand, is more an opinionated group of tools that are created for a purpose and that gives you everything you need for the task.

That's why it's commonly talked about React being a "library" and Angular being a "framework".