CodeNewbie Community 🌱

Shea
Shea

Posted on

What's the difference between libraries and frameworks?

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

Top comments (1)

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".