用于 Web 前端开发的 9 个 JavaScript 开源框架
JavaScript 前端

> 
> 根据 JavaScript 框架的优点和主要特点对许多 JavaScript 框架进行细分。
> 
> 
> 


![](/data/attachment/album/202107/18/205233kz0sqwdwwvrwp2ss.jpg "Computer screen with files or windows open")


大约十年前，JavaScript 社区开始见证一场 JavaScript 框架的激战。在本文中，我将介绍其中最著名的一些框架。值得注意的是，这些都是开源的 JavaScript 项目，这意味着你可以在 [开源许可证](https://opensource.com/article/17/9/open-source-licensing) 下自由地使用它们，甚至为它们的源代码和社区做出贡献。


不过，在开始之前，了解一些 JavaScript 开发者谈论框架时常用的术语，将对后续的内容大有裨益。




| 术语 | 释义 |
| --- | --- |
| [文档对象模型（DOM）](https://www.w3schools.com/js/js_htmldom.asp) | 网站的树形结构表示，每一个节点都是代表网页一部分的对象。万维网联盟（W3C），是万维网的国际标准组织，维护着 DOM 的定义。 |
| [虚拟 DOM](https://reactjs.org/docs/faq-internals.html) | 用户界面（UI）以“虚拟”或“理想”的方式保存在内存中，并通过 [ReactDOM](https://reactjs.org/docs/react-dom.html) 等一些库与“真实” DOM 同步。要进一步探索，请阅读 ReactJS 的虚拟 DOM 和内部文档。 |
| [数据绑定](https://en.wikipedia.org/wiki/Data_binding) | 一个编程概念，为访问网站上的数据提供一致的接口。Web 元素与 DOM 维护的元素的<ruby> 属性 <rt>  property </rt></ruby> 或 <ruby> 特性 <rt>  attribute </rt></ruby> 相关联（LCTT 译注：根据 MDN 的解释，Javascript 的<ruby> 属性 <rt>  property </rt></ruby>是对象的特征，通常描述与数据结构相关的特征；<ruby> 特性 <rt>  attribute </rt></ruby> 是指元素所有属性节点的一个实时集合）。例如，当需要在网页表单中填写密码时，数据绑定机制可以用密码验证逻辑检验，确保密码格式有效。 |


我们已经清楚了常用的术语，下面我们来探索一下开源的 JavaScript 框架有哪些。




| 框架 | 简介 | 许可证 | 发布日期 |
| --- | --- | --- | --- |
| [ReactJS](https://github.com/facebook/react) | 目前最流行的 JavaScript 框架，由 Facebook 创建 | MIT 许可证 | 2013-5-24 |
| [Angular](https://github.com/angular/angular) | Google 创建的流行的 JavaScript 框架 | MIT 许可证 | 2010-1-5 |
| [VueJS](https://github.com/vuejs/vue) | 快速增长的 JavaScript 框架 | MIT 许可证 | 2013-7-28 |
| [MeteorJS](https://github.com/meteor/meteor) | 超乎于 JavaScript 框架的强大框架 | MIT 许可证 | 2012-1-18 |
| [KnockoutJS](https://github.com/knockout/knockout) | 开源的 MVVM（<ruby> 模型-视图-视图模型 <rt>  Model-View-ViewModel </rt></ruby>） 框架 | MIT 许可证 | 2010-7-5 |
| [EmberJS](https://github.com/emberjs/ember.js) | 另一个开源的 MVVM 框架 | MIT 许可证 | 2011-12-8 |
| [BackboneJS](https://github.com/jashkenas/backbone) | 带有 RESTful JSON 和<ruby> 模型-视图-主持人 <rt>  Model-View-Presenter </rt></ruby>模式的 JavaScript 框架 | MIT 许可证 | 2010-9-30 |
| [Svelte](https://github.com/sveltejs/svelte) | 不使用虚拟 DOM 的 JavaScript 开源框架 | MIT 许可证 | 2016-11-20 |
| [AureliaJS](https://github.com/aurelia/framework) | 现代 JavaScript 模块的集合 | MIT 许可证 | 2018-2-14 |


为了说明情况，下面是每个框架的 NPM 包下载量的公开数据，感谢 [npm trends](https://www.npmtrends.com/angular-vs-react-vs-vue-vs-meteor-vs-backbone)。


![Framework downloads graph](/data/attachment/album/202107/18/205305u6kkzeo6rtobesee.png "Framework downloads graph")


### ReactJS


![React page](/data/attachment/album/202107/18/205305qsmic6yejem88cyj.jpg "React page")


[ReactJS](https://reactjs.org) 是由 Facebook 研发的，它虽然在 Angular 之后发布，但明显是当今 JavaScript 框架的领导者。React 引入了一个虚拟 DOM 的概念，这是一个抽象副本，开发者能在框架内仅使用他们想要的 ReactJS 功能，而无需重写整个项目。此外，React 项目活跃的开源社区无疑成为增长背后的主力军。下面是一些 React 的主要优势：


* 合理的学习曲线 —— React 开发者可以轻松地创建 React 组件，而不需要重写整个 JavaScript 的代码。在 ReactJS 的 [首页](https://reactjs.org/) 查看它的优点以及它如何使编程更容易。
* 高度优化的性能 —— React 的虚拟 DOM 的实现和其他功能提升了应用程序的渲染性能。请查看 ReactJS 的关于如何对其性能进行基准测试，并对应用性能进行衡量的相关 [描述](https://reactjs.org/docs/perf.html)。
* 优秀的支持工具 —— [Redux](https://redux.js.org/)、[Thunk](https://github.com/reduxjs/redux-thunk) 和 [Reselect](https://github.com/reduxjs/reselect) 是构建良好、可调式代码的最佳工具。
* 单向数据绑定 —— 模型使用 Reach 流，只从所有者流向子模块，这使得在代码中追踪因果关系更加简单。请在 ReactJS 的 [数据绑定页](https://reactjs.org/docs/two-way-binding-helpers.html) 阅读更多相关资料。


谁在使用 ReactJS？Facebook 自从发明它，就大量使用 React 构建公司首页，据说 [Instagram](https://instagram-engineering.com/react-native-at-instagram-dd828a9a90c7) 完全基于 ReactJS 库。你可能会惊讶地发现，其他知名公司如 [纽约时报](https://open.nytimes.com/introducing-react-tracking-declarative-tracking-for-react-apps-2c76706bb79a)、[Netflix](https://medium.com/dev-channel/a-netflix-web-performance-case-study-c0bcde26a9d9) 和 [可汗学院](https://khan.github.io/react-components/) 也在他们的技术栈中使用了 ReactJS。


更令人惊讶的是 ReactJS 开发者的工作机会，正如在下面 Stackoverflow 所做的研究中看到的，嘿，你可以从事开源项目并获得报酬。这很酷！


![React jobs page](/data/attachment/album/202107/18/205305qgwgig3r9yee9dex.jpg "React jobs page")


*Stackoverflow 的研究显示了对 ReactJS 开发者的巨大需求——[来源：2017 年开发者招聘趋势——Stackoverflow 博客](https://stackoverflow.blog/2017/03/09/developer-hiring-trends-2017)*


[ReactJS 的 GitHub](https://github.com/facebook/react) 目前显示超过 13,000 次提交和 1,377 位贡献者。它是一个在 MIT 许可证下的开源项目。


![React GitHub page](/data/attachment/album/202107/18/205306dhhu41thvlvdllpz.jpg "React GitHub page")


### Angular


![Angular homepage](/data/attachment/album/202107/18/205306dhec5l7d1gf4z6e8.jpg "Angular homepage")


就开发者数量来说，也许 React 是现在最领先的 JavaScript 框架，但是 [Angular](https://angular.io) 紧随其后。事实上，开源开发者和初创公司更乐于选择 React，而较大的公司往往更喜欢 Angular（下面列出了一些例子）。主要原因是，虽然 Angular 可能更复杂，但它的统一性和一致性适用于大型项目。例如，在我整个职业生涯中一直研究 Angular 和 React，我观察到大公司通常认为 Angular 严格的结构是一种优势。下面是 Angular 的另外一些关键优势：


* 精心设计的命令行工具 —— Angular 有一个优秀的命令行工具（CLI），可以轻松起步和使用 Angular 进行开发。ReactJS 提供命令行工具和其他工具，同时 Angular 有广泛的支持和出色的文档，你可以参见 [这个页面](https://cli.angular.io/)。
* 单向数据绑定 —— 和 React 类似，单向数据绑定模型使框架受更少的不必要的副作用的影响。
* 更好的 TypeScript 支持 —— Angular 与 [TypeScript](https://www.typescriptlang.org/) 有很好的一致性，它其实是 JavaScript 强制类型的拓展。它还可以转译为 JavaScript，强制类型是减少错误代码的绝佳选择。


像 YouTube、[Netflix](https://netflixtechblog.com/netflix-likes-react-509675426db)、[IBM](https://developer.ibm.com/technologies/javascript/tutorials/wa-react-intro/) 和 [Walmart](https://medium.com/walmartlabs/tagged/react) 等知名网站，都已在其应用程序中采用了 Angular。我通过自学使用 Angular 来开始学习前端 JavaScript 开发。我参与了许多涉及 Angular 的个人和专业项目，但那是当时被称为 AngularJS 的 Angular 1.x。当 Google 决定将版本升级到 2.0 时，他们对框架进行了彻底的改造，然后变成了 Angular。新的 Angular 是对之前的 AngularJS 的彻底改造，这一举动带来了一部分新开发者也驱逐了一部分原有的开发者。


截止到撰写本文，[Angular 的 GitHub](https://github.com/angular/angular) 页面显示 17,781 次提交和 1,133 位贡献者。它也是一个遵循 MIT 许可证的开源项目，因此你可以自由地在你的项目或贡献中使用。


![Angular GitHub page](/data/attachment/album/202107/18/205306ye76eu6x5oejndnz.jpg "Angular GitHub page")


### VueJS


![Vue JS page](/data/attachment/album/202107/18/205307nyf5j5a6ddfyw4d3.jpg "Vue JS page")


[VueJS](https://vuejs.org) 是一个非常有趣的框架。它是 JavaScript 框架领域的新来者，但是在过去几年里它的受欢迎程度显著增加。VueJS 由 [尤雨溪](https://www.freecodecamp.org/news/between-the-wires-an-interview-with-vue-js-creator-evan-you-e383cbf57cc4/) 创建，他是曾参与过 Angular 项目的谷歌工程师。该框架现在变得如此受欢迎，以至于许多前端工程师更喜欢 VueJS 而不是其他 JavaScript 框架。下图描述了该框架随着时间的推移获得关注的速度。


![Vue JS popularity graph](/data/attachment/album/202107/18/205307v4zcnuu3c49zxxnn.jpg "Vue JS popularity graph")


这里有一些 VueJS 的主要优点：


* 更容易地学习曲线 —— 与 Angular 或 React 相比，许多前端开发者都认为 VueJS 有更平滑的学习曲线。
* 小体积 —— 与 Angular 或 React 相比，VueJS 相对轻巧。在 [官方文档](https://vuejs.org/v2/guide/comparison.html#Size) 中，它的大小据说只有约 30 KB；而 Angular 生成的项目超过 65 KB。
* 简明的文档 —— VueJS 有全面清晰的文档。请自行查看它的 [官方文档](https://vuejs.org/v2/guide/)。


[VueJS 的 GitHub](https://github.com/vuejs/vue) 显示该项目有 3,099 次提交和 239 位贡献者。


![Vue JS GitHub page](/data/attachment/album/202107/18/205307gzm2d0hhq2us6uss.jpg "Vue JS GitHub page")


### MeteorJS


![Meteor page](/data/attachment/album/202107/18/205307b1u6110uggg0ggxj.jpg "Meteor Page")


[MeteorJS](https://www.meteor.com) 是一个自由开源的 [同构框架](https://en.wikipedia.org/wiki/Isomorphic_JavaScript)，这意味着它和 NodeJS 一样，同时运行客户端和服务器的 JavaScript。Meteor 能够和任何其他流行的前端框架一起使用，如 Angular、React、Vue、Svelte 等。


Meteor 被高通、马自达和宜家等多家公司以及如 Dispatch 和 Rocket.Chat 等多个应用程序使用。[您可以其在官方网站上查看更多案例](https://www.meteor.com/showcase)。


![Meteor case study](/data/attachment/album/202107/18/205308zsh99a09jc2c9lvk.jpg "Meteor case study")


Meteor 的一些主要功能包括：


* 在线数据 —— 服务器发送数据而不是 HTML，并由客户端渲染。在线数据主要是指 Meteor 在页面加载时通过一个 WebSocket 连接服务器，然后通过该链接传输所需要的数据。
* 用 JavaScript 开发一切 —— 客户端、应用服务、网页和移动界面都可以用 JavaScript 设计。
* 支持大多数主流框架 —— Angular、React 和 Vue 都可以与 Meteor 结合。因此，你仍然可以使用最喜欢的框架如 React 或 Angular，这并不防碍 Meteor 为你提供一些优秀的功能。


截止到目前，[Meteor 的 GitHub](https://github.com/meteor/meteor) 显示 22，804 次提交和 428 位贡献者。这对于开源项目来说相当多了。


![Meteor GitHub page](/data/attachment/album/202107/18/205308e393z2odevp7v1kd.jpg "Meteor GitHub page")


### EmberJS


![EmberJS page](/data/attachment/album/202107/18/205308glhrukl66rujs2l3.jpg "EmberJS page")


[EmberJS](https://emberjs.com) 是一个基于 [模型-视图-视图模型（MVVM）](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) 模式的开源 JavaScript 框架。如果你从来没有听说过 EmberJS，你肯定会惊讶于有多少公司在使用它。Apple Music、Square、Discourse、Groupon、LinkedIn、Twitch、Nordstorm 和 Chipotle 都将 EmberJS 作为公司的技术栈之一。你可以通过查询 [EmberJS 的官方页面](https://emberjs.com/ember-users) 来发掘所有使用 EmberJS 的应用和客户。


Ember 虽然和我们讨论过的其他框架有类似的好处，但这里有些独特的区别：


* 约定优于配置 —— Ember 将命名约定标准化并自动生成结果代码。这种方法学习曲线有些陡峭，但可以确保程序员遵循最佳实践。
* 成熟的模板机制 —— Ember 依赖于直接文本操作，直接构建 HTML 文档，而并不关心 DOM。


正如所期待的那样，作为一个被许多应用程序使用的框架，[Ember 的 GitHub](https://github.com/emberjs) 页面显示该项目拥有 19,808 次提交和 785 位贡献者。这是一个巨大的数字！


![EmberJS GitHub page](/data/attachment/album/202107/18/205309fj77ci3hmzhpl1zp.jpg "EmberJS GitHub page")


### KnockoutJS


![KnockoutJS page](/data/attachment/album/202107/18/205309zpf2d2d22kmd8zst.jpg "KnockoutJS page")


[KnockoutJS](https://knockoutjs.com) 是一个独立开源的 JavaScript 框架，采用 [模板-视图-视图模型（MVVM）](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) 模式与模板。尽管与 Angular、React 或 Vue 相比，听说过这个框架的人可能比较少，这个项目在开发者社区仍然相当活跃，并且有以下功能：


* 声明式绑定 —— Knockout 的声明式绑定系统提供了一种简洁而强大的方式来将数据链接到 UI。绑定简单的数据属性或使用单向绑定很简单。请在 [KnockoutJS 的官方文档页面](https://knockoutjs.com/documentation/binding-syntax.html) 阅读更多相关信息。
* 自动 UI 刷新。
* 依赖跟踪模板。


[Knockout 的 GitHub](https://github.com/knockout/knockout) 页面显示约有 1,766 次提交和 81 位贡献者。与其他框架相比，这些数据并不重要，但是该项目仍然在积极维护中。


![Knockout GitHub page](/data/attachment/album/202107/18/205309dt6x5ni4cm4ivs4c.jpg "Knockout GitHub page")


### BackboneJS


![BackboneJS page](/data/attachment/album/202107/18/205309u966gz76p2kv3r7k.jpg "BackboneJS page")


[BackboneJS](https://backbonejs.org) 是一个具有 RESTful JSON 接口，基于<ruby> 模型-视图-主持人 <rt>  Model-View-Presenter </rt></ruby>（MVP）设计范式的轻量级 JavaScript 框架。


这个框架据说已经被 [Airbnb](https://medium.com/airbnb-engineering/our-first-node-js-app-backbone-on-the-client-and-server-c659abb0e2b4)、Hulu、SoundCloud 和 Trello 使用。你可以在 [Backbone 的页面](https://sites.google.com/site/backbonejsja/examples) 找到上面所有这些案例来研究。


[BackboneJS 的 GitHub](https://github.com/jashkenas/backbone) 页面显示有 3,386 次提交和 289 位贡献者。


![BackboneJS GitHub page](/data/attachment/album/202107/18/205310sfybkginbf6z252z.jpg "BackboneJS GitHub page")


### Svelte


![Svelte page](/data/attachment/album/202107/18/205310jz88ambctz7pxwnb.jpg "Svelte page")


[Svelte](https://svelte.dev) 是一个开源的 JavaScript 框架，它生成操作 DOM 的代码，而不是包含框架引用。在构建时而非运行时将应用程序转换为 JavaScript 的过程，在某些情况下可能会带来轻微的性能提升。


[Svelte 的 GitHub](https://github.com/sveltejs/svelte) 页面显示，截止到本文撰写为止，该项目有 5,729 次提交和 296 位贡献者。


![Svelte GitHub page](/data/attachment/album/202107/18/205310khvxxpahv1xaxxex.jpg "Svelte GitHub page")


### AureliaJS


![Aurelia page](/data/attachment/album/202107/18/205311cn6d6lu6n6560mn5.jpg "Aurelia page")


最后我们介绍一下 [Aurelia](https://aurelia.io)。Aurelia 是一个前端 JavaScript 框架，是一个现代 JavaScript 模块的集合。Aurelia 有以下有趣的功能：


* 快速渲染 —— Aurelia 宣称比当今其他任何框架的渲染速度都快。
* 单向数据流 —— Aurelia 使用一个基于观察的绑定系统，将数据从模型推送到视图。
* 使用原生 JavaScript 架构 —— 可以用原生 JavaScript 构建网站的所有组件。


[Aurelia 的 GitHub](https://github.com/aurelia/framework) 页面显示，截止到撰写本文为止该项目有 788 次提交和 96 位贡献者。


![Aurelia GitHub page](/data/attachment/album/202107/18/205311ocpkvd4zv8hrr5f1.jpg "Aurelia GitHub page")


这就是我在查看 JavaScript 框架世界时发现的新内容。我错过了其他有趣的框架吗？欢迎在评论区分享你的想法。




---


via: <https://opensource.com/article/20/5/open-source-javascript-frameworks>


作者：[Bryant Son](https://opensource.com/users/brson) 选题：[lujun9972](https://github.com/lujun9972) 译者：[stevending1st](https://github.com/stevending1st) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
About a decade ago, the JavaScript developer community began to witness fierce battles emerging among JavaScript frameworks. In this article, I will introduce some of the most well-known of these frameworks. And it's important to note that these are all open source JavaScript projects, meaning that you can freely utilize them under an [open source license](https://opensource.com/article/17/9/open-source-licensing) and even contribute to the source code and communities.

If you prefer to follow along as I explore these frameworks, you can watch my video.

Before getting started, though, it will be useful to learn some of the terminology JavaScript developers commonly use when discussing frameworks.

Term | What It Is |
---|---|

|


[Virtual DOM](https://reactjs.org/docs/faq-internals.html)[ReactDOM](https://reactjs.org/docs/react-dom.html). To explore further, please read ReactJS's virtual DOM and internals documentation.[Data Binding](https://en.wikipedia.org/wiki/Data_binding)Now that we are clear about common terms, let's explore what open source JavaScript frameworks are out there.

Framework | About | License | Release Date |
---|---|---|---|

|


[Angular](https://github.com/angular/angular)[VueJS](https://github.com/vuejs/vue)[MeteorJS](https://github.com/meteor/meteor)[KnockoutJS](https://github.com/knockout/knockout)[EmberJS](https://github.com/emberjs/ember.js)[BackboneJS](https://github.com/jashkenas/backbone)[Svelte](https://github.com/sveltejs/svelte)[AureliaJS](https://github.com/aurelia/framework)For context, here is the publicly available data on popularity based on NPM package downloads per framework, thanks to [npm trends](https://www.npmtrends.com/angular-vs-react-vs-vue-vs-meteor-vs-backbone).

![Framework downloads graph Framework downloads graph](https://opensource.com/sites/default/files/uploads/open-source-javascript-framework-downloads-opensourcedotcom_0.png)

## ReactJS

![React page React page](https://opensource.com/sites/default/files/uploads/3_react.jpg)

[ReactJS](https://reactjs.org) was invented by Facebook, and it is the clear leader among JavaScript frameworks today, though it was invented well after Angular. React introduces a concept called a virtual DOM, an abstract copy where developers can utilize only the ReactJS features that they want, without having to rewrite the entire project to work within the framework. In addition, the active open source community with the React project has definitely been the workhorse behind the growth. Here are some of React's key strengths:

- Reasonable learning curve—React developers can easily create the React components without rewriting the entire code in JavaScript. See the benefits of ReactJS and how it makes it the programming easier on ReactJS's
[front page](https://reactjs.org/). - Highly optimized for performance—React's virtual DOM implementation and other features boost app rendering performance. See ReactJS's
[description](https://reactjs.org/docs/perf.html)of how its performance can be benchmarked and measured in terms of how the app performs. - Excellent supporting tools—
[Redux](https://redux.js.org/),[Thunk](https://github.com/reduxjs/redux-thunk), and[Reselect](https://github.com/reduxjs/reselect)are some of the best tools for building well-structured, debuggable code. - One way data binding—The model used in Reach flows from owner to child only making it simpler to trace cause and effect in code. Read more about it on ReactJS's
[page on data binding](https://reactjs.org/docs/two-way-binding-helpers.html).

Who is using ReactJS? Since Facebook invented it, the company itself heavily uses React for its frontpage, and [Instagram](https://instagram-engineering.com/react-native-at-instagram-dd828a9a90c7) is said to be completely based on the ReactJS library. You might be surprised to know that other well-known companies like [New York Times](https://open.nytimes.com/introducing-react-tracking-declarative-tracking-for-react-apps-2c76706bb79a), [Netflix](https://medium.com/dev-channel/a-netflix-web-performance-case-study-c0bcde26a9d9), and [Khan Academy](https://khan.github.io/react-components/) also implement ReactJS in their technology stacks.

What may be even more surprising is the availability of jobs for ReactJS developers, as you can see below from research done by Stackoverflow. Hey, you can work on an open source project and get paid to do it. That is pretty cool!

![React jobs page React jobs page](https://opensource.com/sites/default/files/uploads/4_reactjobs_0.jpg)

Stackoverflow shows the huge demand for ReactJS developers—[Source: Developer Hiring Trends in 2017 - Stackoverflow Blog](https://stackoverflow.blog/2017/03/09/developer-hiring-trends-2017)


[ReactJS's GitHub](https://github.com/facebook/react) currently shows over 13K commits and 1,377 contributors to the open source project. And it is an open source project under MIT License.

![React GitHub page React GitHub page](https://opensource.com/sites/default/files/uploads/5_reactgithub.jpg)

## Angular

![Angular homepage Angular homepage](https://opensource.com/sites/default/files/uploads/6_angular.jpg)


React may now be the leading JavaScript framework in terms of the number of developers, but [Angular](https://angular.io) is close behind. In fact, while React is the more popular choice among open source developers and startup companies, larger corporations tend to prefer Angular (a few are listed below). The main reason is that, while Angular might be more complicated, its uniformity and consistency works well for larger projects. For example, I have worked on both Angular and React throughout my career, and I observed that the larger companies generally consider Angular's strict structure a strength. Here are some other key strengths of Angular:

- Well-designed Command Line Interface: Angular has an excellent Command Line Interface (CLI) tool to easily bootstrap and to develop with Angular. ReactJS also offers the Command Line Interface as well as other tools, but Angular has extensive support and excellent documentation, as you can see on
[this page](https://cli.angular.io/). - One way data binding—Similarly to React, the one-way data binding model makes the framework less susceptible to unwanted side effects.
- Great support for TypeScript—Angular has excellent alignment with
[TypeScript](https://www.typescriptlang.org/), which is effectively JavaScript more type enforcement. It also transcompiling to JavaScript, making it a great option to enforce types for less buggy code.

Well-known websites like YouTube, [Netflix](https://netflixtechblog.com/netflix-likes-react-509675426db), [IBM](https://developer.ibm.com/technologies/javascript/tutorials/wa-react-intro/), and [Walmart](https://medium.com/walmartlabs/tagged/react) all have implemented Angular into their applications. I personally started front-end JavaScript development with Angular by educating myself on the subject. I have worked on quite a few personal and professional projects involving Angular, but that was Angular 1.x, which was called by AngularJS at the time. When Google decided to upgrade the version to 2.0, they completely revamped the framework, and then it became Angular. The new Angular was a complete transformation of the previous AngularJS, which drove off some existing developers while bringing new developers.

[Angular's](https://github.com/angular/angular)[ GitHub](https://github.com/angular/angular) page shows 17,781 commits and 1,133 contributors at the time of this writing. It is also an open source project with an MIT License, so you can feel free to use it for your project or to contribute.


![Angular GitHub page Angular GitHub page](https://opensource.com/sites/default/files/uploads/7_angulargithub.jpg)

## VueJS

![Vue JS page Vue JS page](https://opensource.com/sites/default/files/uploads/8_vuejs.jpg)

[VueJS](https://vuejs.org) is a very interesting framework. It is a newcomer to the JavaScript framework scene, but its popularity has increased significantly over the course of a few years. VueJS was created by [Evan Yu](https://www.freecodecamp.org/news/between-the-wires-an-interview-with-vue-js-creator-evan-you-e383cbf57cc4/), a former Google engineer who had worked on the Angular project. The framework got so popular that many front-end engineers now prefer VueJS over other JavaScript frameworks. The chart below depicts how fast the framework gained traction over time.

![Vue JS popularity graph Vue JS popularity graph](https://opensource.com/sites/default/files/uploads/9_vuejspopularity.jpg)

Here are some of the key strengths of VueJS:

- Easier learning curve—Even compared to Angular or React, many front-end developers feel that VueJS has the lowest learning curve.
- Small size—VueJS is relatively lightweight compared to Angular or React. In its
[official documentation](https://vuejs.org/v2/guide/comparison.html#Size), its size is stated to be only about 30 KB, while the project generated by Angular, for example, is over 65 KB. - Concise documentation—Vue has thorough but concise and clear documentation. See
[its official documentation](https://vuejs.org/v2/guide/)for yourself.

[VueJS's GitHub](https://github.com/vuejs/vue) shows 3,099 commits and 239 contributors.

![Vue JS GitHub page Vue JS GitHub page](https://opensource.com/sites/default/files/uploads/10_vuejsgithub.jpg)

## MeteorJS

![Meteor Page Meteor page](https://opensource.com/sites/default/files/uploads/11_meteor_0.jpg)

[MeteorJS](https://www.meteor.com) is a free and open source [isomorphic framework](https://en.wikipedia.org/wiki/Isomorphic_JavaScript), which means, just like NodeJS, it runs both client and server-side JavaScript. Meteor can be used in conjunction with any other popular front-end framework like Angular, React, Vue, Svelte, etc.

Meteor is used by several corporations such as Qualcomm, Mazda, and Ikea, and many applications like Dispatch and Rocket.Chat. [See the case studies on its official website.](https://www.meteor.com/showcase)

![Meteor case study Meteor case study](https://opensource.com/sites/default/files/uploads/casestudy1_meteor.jpg)

Some of the key features of Meteor include:

- Data on the wire—The server sends the data, not HTML, and the client renders it. Data on the wire refers mostly to the way that Meteor forms a WebSocket connection to the server on page load, and then transfers the data needed over that connection.
- Develop everything in JavaScript—Client-side, application server, webpage, and mobile interface can be all designed with JavaScript.
- Supports most major frameworks—Angular, React, and Vue can be all combined and used in conjunction with Meteor. Thus, you can still use your favorite framework, like React or Angular, but still leverage some of the great features that Meteor offers.

As of now, [Meteor's](https://github.com/meteor/meteor)[ GitHub](https://github.com/meteor/meteor) shows 22,804 commits and 428 contributors. That is quite a lot for open source activities!

![Meteor GitHub page Meteor GitHub page](https://opensource.com/sites/default/files/uploads/12_meteorgithub.jpg)

## EmberJS

![EmberJS page EmberJS page](https://opensource.com/sites/default/files/uploads/13_emberjs.jpg)

[EmberJS](https://emberjs.com) is an open source JavaScript framework based on the [Model-view-viewModel(MVVM)](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) pattern. If you've never heard about EmberJS, you'll definitely be surprised how many companies are using it. Apple Music, Square, Discourse, Groupon, LinkedIn, Twitch, Nordstorm, and Chipotle all leverage EmberJS as one of their technology stacks. Check [EmberJS's official page](https://emberjs.com/ember-users) to discover all applications and customers that use EmberJS.

Although Ember has similar benefits to the other frameworks we've discussed, here are some of its unique differentiators:

- Convention over configuration—Ember standardizes naming conventions and automatically generates the result code. This approach has a little more of a learning curve but ensures that programmers follow best-recommended practices.
- Fully-fledged templating mechanism—Ember relies on straight text manipulation, building the HTML document dynamically while knowing nothing about DOM.

As one might expect from a framework used by many applications, [Ember's GitHub](https://github.com/emberjs) page shows 19,808 commits and 785 contributors. That is huge!

![EmberJS GitHub page EmberJS GitHub page](https://opensource.com/sites/default/files/uploads/14_embergithub.jpg)

## KnockoutJS

![KnockoutJS page KnockoutJS page](https://opensource.com/sites/default/files/uploads/15_knockoutjs.jpg)

[KnockoutJS](https://knockoutjs.com) is a standalone open source JavaScript framework adopting a [Model-View-ViewModel (MVVM)](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) pattern with templates. Although fewer people may have heard about this framework compared to Angular, React, or Vue, the project is still quite active among the development community and leverages features such as:

- Declarative binding—Knockout's declarative binding system provides a concise and powerful way to link data to the UI. It's generally easy to bind to simple data properties or to use a single binding. Read more about it
[here at KnockoutJS's official documentation page](https://knockoutjs.com/documentation/binding-syntax.html). - Automatic UI refresh
- Dependency tracking templating

[Knockout's GitHub](https://github.com/knockout/knockout) page shows about 1,766 commits and 81 contributors. Those numbers are not as significant compared to the other frameworks, but the project is still actively maintained.

![Knockout GitHub page Knockout GitHub page](https://opensource.com/sites/default/files/uploads/16_knockoutgithub.jpg)

## BackboneJS

![BackboneJS page BackboneJS page](https://opensource.com/sites/default/files/uploads/17_backbonejs.jpg)

[BackboneJS](https://backbonejs.org) is a lightweight JavaScript framework with a RESTful JSON interface and is based on Model-View-Presenter (MVP) design paradigm.

The framework is said to be used by [Airbnb](https://medium.com/airbnb-engineering/our-first-node-js-app-backbone-on-the-client-and-server-c659abb0e2b4), Hulu, SoundCloud, and Trello. You can find all of these case studies on [Backbone's page](https://sites.google.com/site/backbonejsja/examples).

The [BackboneJS GitHub](https://github.com/jashkenas/backbone) page shows 3,386 commits and 289 contributors.

![BackboneJS GitHub page BackboneJS GitHub page](https://opensource.com/sites/default/files/uploads/18_backbonejsgithub.jpg)

## Svelte

![Svelte page Svelte page](https://opensource.com/sites/default/files/uploads/19_svelte.jpg)

[Svelte](https://svelte.dev) is an open source JavaScript framework that generates the code to manipulate DOM instead of including framework references. This process of converting an app into JavaScript at build time rather than run time might offer a slight boost in performance in some scenarios.

[Svelte's](https://github.com/sveltejs/svelte)[ GitHub](https://github.com/sveltejs/svelte) page shows 5,729 commits and 296 contributors as of this writing.

![Svelte GitHub page Svelte GitHub page](https://opensource.com/sites/default/files/uploads/20_svletegithub.jpg)

## AureliaJS

![Aurelia page Aurelia page](https://opensource.com/sites/default/files/uploads/21_aurelia.jpg)

Last on the list is [Aurelia](https://aurelia.io). Aurelia is a front-end JavaScript framework that is a collection of modern JavaScript modules. Aurelia has the following interesting features:

- Fast rendering—Aurelia claims that its framework can render faster than any other framework today.
- Uni-directional data flow—Aurelia uses an observable-based binding system that pushes the data from the model to the view.
- Build with vanilla JavaScript—You can build all of the website's components with plain JavaScript.

[Aurelia's](https://github.com/aurelia/framework)[ GitHub](https://github.com/aurelia/framework) page shows 788 commits and 96 contributors as of this writing.

![Aurelia GitHub page Aurelia GitHub page](https://opensource.com/sites/default/files/uploads/22_aureliagithub.jpg)

So that is what I found when looking at what is new in the JavaScript framework world. Did I miss any interesting frameworks? Feel free to share your ideas in the comment section!

## 6 Comments