LIBRARY vs. FRAMEWORK⠀
LIBRARY vs. FRAMEWORK⠀ "A library is not a luxury but one of the necessities of life!"⠀ ๐ Similarity⠀ Both framework and library are code written by someone else that is used to help solve common problems. By using them you won’t reinvent the wheel.⠀ ๐ Difference ⠀ The key difference between these is Inversion of Control. When you use a library, you are in charge of the app flow. You’re choosing when and where to call the library. When you use a framework, the framework is in charge of the flow. It provides some places for you to plug in your code.⠀ ๐ Metaphor ⠀ A library is like going to a store. You already have a house, but you need a bit of help with furniture.⠀ ⠀ A framework is like building a model house. You have a set of blueprints and a few limited choices when it comes to architecture and design.⠀ ⠀ ๐ Learning React : A Hands-On Guide to Building Web Applications Using React and Redux 2nd Edition, Kindle Edition by Kirupa Chinnathambi (Author) ๐ญ Q...

Comments
Post a Comment