熟悉市面上的新框架-Svelte

原文信息: 查看原文查看原文

Getting Acquainted With Svelte, the New Framework on the Block

- Tristram Tolliday

过去六年,前端框架算是三足鼎立的状态,VueAngularReact都有像GoogleFacebook等不同的大公司在背后撑腰。

这两年,冒出来一个相对新的玩家,在不断获得更多人的注意,像Vue一样地运行着,应用MIT开源协议,它就是Svelte

Svelte有什么不同的?

I can confidently say that Svelte has been the easiest JavaScript component library to learn and start putting to use in a productive way.

同样都是组件化库,Svelte上面提到的三大框架有几个不同点:

  1. 所有的代码都是提前编译的。
  2. 没有虚拟DOM。
  3. CSS作用域已备好。

Svelte如何追上其他框架?

……

目前来看,Svelte还是很有潜力的,很多人又要说”学不动了!“。感兴趣的可以先看看,先学起来。

分享于 2020-02-20

访问量 997

预览图片