Home  >  Article  >  Web Front-end  >  The ten most popular JavaScript frameworks and libraries

The ten most popular JavaScript frameworks and libraries

黄舟
黄舟Original
2017-03-21 14:13:581353browse

This article mainly introduces in detail the top ten popular JavaScript frameworks and libraries, which are essential for the front end. Interested friends can refer to them

Javascript frameworks and libraries can be said to be the largest and most tiring categories of open source projects. Currently, there are the most projects of this type on github, and a new project will appear almost every once in a while to sweep the Internet. Although the community promotes the development of innovation, it has to be said that front-end developers suffer. Therefore, this article lists the features of some excellent Javascript frameworks and libraries and their star numbers on github, aiming to provide some reference for developers.

The ten most popular JavaScript frameworks and libraries

1. ReactJS(Star: 59989,Fork: 10992)

The ten most popular JavaScript frameworks and libraries

React.js (React) is a A Javascript library used to build user interfaces, mainly used to build UI. Many people think that React is the V (View) in MVC. React originated as an internal project at Facebook to build the Instagram website and was open sourced in May 2013. React has high performance and very simple code logic. More and more people have begun to pay attention to and use it.

Features of React:

 1. Declarative design − React adopts a declarative paradigm, which can easily describe applications.

 2. Efficient-React minimizes interaction with DOM by simulating DOM.

 3. Flexible - React can work well with known libraries or frameworks.

 4.JSX− JSX is an extension of Javascript syntax. JSX is not required for React development, but it is recommended.

 5. Components − Building components through React makes it easier to reuse code and can be well applied in the development of large projects.

 6. One-way response data flow − React implements one-way response data flow, thereby reducing repeated code, which is why it is simpler than traditional data binding.

2. AngularJS (Star: 54769, Fork: 27292)

The ten most popular JavaScript frameworks and libraries

##Angular JS (Angular.JS) is a set of frameworks used to develop Web pages , templates, and data binding and rich UI components. It supports the entire development process and provides the

architecture of a web application without the need for manual DOM manipulation. AngularJS is small, only 60K, compatible with mainstream browsers, and works well with jQuery.

3. Vue.js (Star: 43608, Fork: 5493)

The ten most popular JavaScript frameworks and libraries

Vue.js is a Javascript library for building Web interfaces, providing data-driven Components, as well as simple and flexible APIs, make MVVM simpler.

Main features:

●Extensible data binding

●Use ordinary JS

objects as model

 ●Concise and clear API

 ●Component-based UI construction

 ●Use with other libraries

4, jQuery (Star: 43432, Fork: 12117)

The ten most popular JavaScript frameworks and libraries

JQuery is a lightweight js library (only 21k after compression). It is compatible with CSS3 and various browsers (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+). jQuery enables users to more easily process HTML

documents, events, implement animation effects, and easily provide AJAX interaction for websites. Another big advantage of jQuery is that its documentation is very complete, and various applications are also explained in detail, and there are many mature plug-ins to choose from. jQuery can keep the code and HTML content of the user's HTML page separated. In other words, there is no need to insert a bunch of js in the HTML to call the command. You only need to define the id.

5. Meteor(Star: 36691,Fork: 4617)

The ten most popular JavaScript frameworks and libraries

Meteor is a new set of technologies used to build high-quality Web applications, providing There are many ready-made packages that can be run directly in the browser or cloud platform.

6, Angular2 (Star: 20803, Fork: 5367)

The ten most popular JavaScript frameworks and libraries

Angular is a very popular and easy-to-use web front-end framework currently maintained by Google. This entry covers Angular 2 and later versions. Since Angular 2 and the previous version Angular.js have been officially maintained separately (the GitHub addresses and project homepages of the two are different), this page is created.

7. Ember.js(Star: 17540,Fork: 3646)

The ten most popular JavaScript frameworks and libraries

Ember is an ambitious web application that eliminates boilerplate and Provides a Javascript framework for standard application architecture.

8. Polymer (Star: 16979, Fork: 1699)

The ten most popular JavaScript frameworks and libraries

At the 2013 Google I/O conference, Google released Polymer, which It is a class library that uses Web components to build Web applications, and also uses the new HTML 5 standard for building 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 a range of widget examples, including weather, clocks, stock quotes, and line charts.

The polyfills in Polymer provide a variety of Web technologies for successfully building applications using Web components, including:

HTML imports: a way to introduce and reuse HTML documents in other HTML documents .

 ●Custom elements: Allow developers to define and use custom DOM elements.

 ●Shadow DOM: Encapsulation provided in DOM.

 ●ModelModel Driven Views: Provides data binding like AngularJS.

 ●Web animation: API to implement complex animation.

 ●Pointer event: encapsulation of mouse touch and stylus events

9, Zepto.js (Star: 12074, Fork: 3260)

The ten most popular JavaScript frameworks and libraries

Zepto.js is a Javascript framework that supports mobile WebKit browsers and has jQuery-compatible syntax. 2-5k libraries that handle most basic tasks via a decent API.

10. Riot.js (Star: 11491, Fork: 902)

The ten most popular JavaScript frameworks and libraries

##Riot.js is a client-side model-view-rendering (MVP) Framework and it's very lightweight even less than 1kb. Despite its incredible size, all it can build is: a

template engine, routers, and even libraries and A strict and organized MVP model. Views automatically update when model data changes.

Of course, in addition to the above mentioned, there are many excellent Javascript frameworks and libraries, and a new product emerges almost every once in a while.

The above is the detailed content of The ten most popular JavaScript frameworks and libraries. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn