3 ms·
Basically like when you call something like: Math.abs(-5) That's a library call. A framework is like django or rails. You have to structure your code to f
by leafboi 6y ago
Basically like when you call something like:
Math.abs(-5)
That's a library call.
A framework is like django or rails. You have to structure your code to fit within django's paradigm, while a library is just utilities you can use in your own code...
- esperent 6y agoAnd what about React? If you search for "is React a framework" you'll come up with many, many people saying that it's a library. And yet, when writing a React app you absolutely have to structure your code a certain way.
- leafboi 6y agoThings can be both a library and a framework. You can use react like a utility and react itself can take have code injected in it.