This article describes in detail the top ten popular JavaScript frameworks and libraries. It is essential for the front-end, interested friends can refer to this article for details about the top 10 JavaScript frameworks and libraries. It is essential for the front-end. Interested friends can refer
Javascript frameworks and libraries can be said to be the largest and most tiring category of open-source projects. Currently, this type of projects on github is the largest, in addition, there will be a new project sweeping the network community almost every once in a while. Although this has promoted the development of innovation, it has to be said that the front-end developers suffer. Therefore, this article lists some excellent Javascript frameworks and libraries and their star numbers on github. It aims to provide some reference for developers.
1. ReactJS (Star: 59989, Fork: 10992)
React. js (React) is a Javascript library used to build user interfaces. It is mainly used to build the UI. Many people think that React is the V (View) in MVC ). React originated from Facebook's internal project, which was used to build Instagram websites and was open-source in May 2013. React has high performance and the code logic is very simple. More and more people are paying attention to and using it.
React features:
1. Declarative design-React uses the declarative paradigm to easily describe applications.
2. Efficient-React simulates DOM to minimize interaction with DOM.
3. Flexibility-React can work well with known libraries or frameworks.
4. JSX-JSX is an extension of Javascript syntax. JSX is not necessarily used for React development, but we recommend that you use it.
5. component-build components through React to make code more reusable and be well applied to the development of large projects.
6. One-way response data streams-React implements one-way response data streams, thus reducing repeated code, which is why it is simpler than traditional data binding.
2. AngularJS (Star: 54769, Fork: 27292)
Angular JS is a set of frameworks, templates, data binding, and rich UI components used to develop Web pages. It supports the entire development process and provides a Web application architecture without manual DOM operations. AngularJS is very small and only 60 kb. It is compatible with mainstream browsers and works well with jQuery.
3. Vue. js (Star: 43608, Fork: 5493)
Vue. js is a Javascript library for Building Web interfaces. It provides data-driven components and simple and flexible APIs, making MVVM simpler.
Main features:
● Scalable Data Binding
● Use common JS objects as models
● Concise and clear API
● Componentized UI Construction
● Use with other libraries
4. jQuery (Star: 43432, Fork: 12117)
JQuery is a lightweight js Library (only 21 k after compression). It is compatible with CSS3 and various browsers (IE 6.0 +, FF 1.5 +, Safari 2.0 +, and Opera 9.0 + ). JQuery allows you to easily process HTML documents, events, and animation effects, and provides AJAX interaction for websites. Another major advantage of jQuery is its comprehensive documentation and detailed description of various applications. There are also many mature plug-ins to choose from. JQuery can ensure that the user's html page is separated from the code and html content. That is to say, you don't need to insert a bunch of JavaScript code in the html to call the command. You just need to define the id.
5. Meteor (Star: 36691, Fork: 4617)
Meteor is a new set of technologies used to build high-quality Web applications. It provides many ready-to-use packages that can be run directly in browsers or cloud platforms.
6. Angular2 (Star: 20803, Fork: 5367)
Angular is a very popular and useful Web front-end framework, which is currently maintained by Google. This entry contains Angular 2 and later versions. Angular 2 and earlier versions of Angular. js have been maintained separately (the GitHub address and project homepage are different), so this page is available.
7. Ember. js (Star: 17540, Fork: 3646)
Ember is an ambitious Web application that eliminates the sample and provides a standard Javascript framework for the application architecture.
8. Polymer (Star: 16979, Fork: 1699)
At the 2013 Google I/O conference, Google released Polymer, a class library that uses Web components to build Web applications, A new HTML 5 standard is also used to build reusable components for the Web. Polymer provides polyfills for most Web component technologies, allowing developers to create their own reusable components before all browsers support new features. In addition, Polymer provides an example of a series of components, including weather, clock, stock quotes, and line charts.
Polyfills in Polymer provides a variety of Web technologies to successfully build applications using Web components, including:
● HTML imports: This method is used to introduce and reuse HTML document in other HTML documents.
● Custom elements: allows developers to define and use custom DOM elements.
● Shadow DOM: encapsulation provided in DOM.
● Model-Driven Views: Data Binding like AngularJS is provided.
● Web Animation: an API for implementing complex animations.
● Pointer event: encapsulation of mouse touch and handwriting events
9. Zepto. js (Star: 12074, Fork: 3260)
Zepto. js is a Javascript framework that supports mobile WebKit browsers and has jQuery-compatible syntax. 2-5 k Library, through a good API to handle the vast majority of basic work.
10. Riot. js (Star: 11491, Fork: 902)
Riot. js is a client Model-View-rendering (MVP) framework and is very lightweight or even smaller than 1kb. despite its incredible size, all it can build are as follows: a template engine, a route, even a library and a strict and organized MVP model. The view is automatically updated when model data changes.
Of course, in addition to the above mentioned, there are many excellent Javascript frameworks and libraries, and a new product will emerge almost every once in a while.
The above are the details of the ten most popular JavaScript frameworks and libraries. For more information, see other related articles in the first PHP community!