Backbonejs 时隔3年发布 1.4.0 版本

来源: 投稿
作者: 山哥
2019-03-21 09:44:00

随着 Angular, React, VUE 的流行,大家可能已经遗忘了老牌MVC框架 Backbone.js,自2016年4月 v1.3.3 版本后作者就没有任何更新了,时隔3年后 2019年2月19号作者进行了更新,发布了 1.4.0 ,呵呵。

1.4.0 — Feb. 19, 2019 — Diff — Docs 

  • Collections now support the Javascript Iterator Protocol!
  • listenTo uses the listened object's public on method. This helps maintain interoperability between Backbone and other event libraries (including Node.js).
  • Added support for setting instance properties before the constructor in ES2015 classeswith a preinitialize method.
  • Collection.get now checks if obj is a Model to allow retrieving models with an `attributes` key.
  • Fixed several issues with Router's URL hashing and parsing.

如果你的前端还需要支持 IE7+ 浏览器,那 Backbone.js 是你的首选:小巧、简单、强大。

展开阅读全文
点击加入讨论🔥(10) 发布并加入讨论🔥
本篇精彩评论

引用来自“壹城”的评论

最后的“呵呵”两个字用得好!
其实我一直都是喜欢Backbone的,而不喜欢 React, Vue 等,js本来就是即时写即时运行,随地写随地运行。为什么现在使用 React, Vue 开发前端还要编译、打包才能运行。
2019-03-21 10:13
7
举报

引用来自“壹城”的评论

最后的“呵呵”两个字用得好!

引用来自“山哥”的评论

其实我一直都是喜欢Backbone的,而不喜欢 React, Vue 等,js本来就是即时写即时运行,随地写随地运行。为什么现在使用 React, Vue 开发前端还要编译、打包才能运行。
vue也有不需要打包的模式, 引入一个js就能直接用。
2019-03-21 18:54
2
举报
10 评论
4 收藏
分享
返回顶部
顶部