Skip to content

Commit 0c2ce2c

Browse files
authored
Merge pull request #297 from keyfoxth/patch-2
Update comparison.md
2 parents 882c349 + a741ea7 commit 0c2ce2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/comparison.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Polymer 自定义的元素是在 HTML 文件中创建的,这限制了 JavaScri
325325
Riot 2.0 提供了一个类似于基于组件的开发模型(在 Riot 中称之为 Tag),它提供了小巧精美的 API。Riot 和 Vue 在设计理念上可能有许多相似处。尽管相比 Riot ,Vue 要显得重一点,Vue 还是有很多显著优势的:
326326

327327
- [过渡效果系统](transitions.html)。Riot 现在还没有提供。
328-
- 功能更加强大的路由机制。Riot 的路由非常轻量
328+
- 功能更加强大的路由机制。Riot 路由的 API 非常轻量
329329
- 更好的性能。Riot 使用了[遍历 DOM 树](http://riotjs.com/compare/#virtual-dom-vs-expressions-binding)而不是 Virtual DOM,但实际上用的还是脏检查机制,因此和 Angular 1 患有相同的性能问题。
330330
- 更多成熟工具的支持。Vue 提供官方的 [Webpack](https://github.com/vuejs/vue-loader)[Browserify](https://github.com/vuejs/vueify) 支持,而 Riot 依赖社区支持来构建系统集成。
331331

0 commit comments

Comments
 (0)