what is the difference of library and framework ?

  Angular, HTML & CSS

These two is very important but sometimes developers get confused in that,.

Library

  • A library is just a collection of class definitions. The reason is it simply code reuse, in other words gets the code that has already been written by other developers.
  • A library will usually focus on a single piece of functionality that you access using an API.
  • Library binding couple of rules not like framework
  • examples of librarys(jQuery, chartjs, momentjs etc….)

Framework

  • A framework is normally very complex.
  • we can contain many library in framework for reducing our time and code.
  • The benefit is that developers do not need to worry about if a design is good or not, but just about implementing domain-specific functions. The framework will provide you with hooks and call-backs, so that you build on it.
  • examples (Angular, reactjs, vue, etc…)
Spread the Code

2
Leave a Reply

avatar
2 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
prem karthiprem karthi Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of
prem karthi
Guest
prem karthi

Reactjs not a javascript Framework. its javascript Library, lot of people’s confusing on that…check out

prem karthi
Member

which framework is very popular comment below….