[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以在文档中的 “比较” 章节提及一下与 didi/mpx 的区别吗? #41

Closed
ItsRyanWu opened this issue Mar 3, 2022 · 3 comments

Comments

@ItsRyanWu
Copy link
ItsRyanWu commented Mar 3, 2022

didi/mpx
据我理解,两种都属于增强型而非强运行时依赖型框架,但 vue-mini 的特点在于借鉴 Vue 3 以及 composition api 的设计?

@ItsRyanWu ItsRyanWu changed the title 可以在文档中提及一下与 didi/MPX 的区别吗? 可以在文档中提及一下与 didi/mpx 的区别吗? Mar 3, 2022
@ItsRyanWu ItsRyanWu changed the title 可以在文档中提及一下与 didi/mpx 的区别吗? 可以在文档中的 “比较” 章节提及一下与 didi/mpx 的区别吗? Mar 3, 2022
@yangmingshan
Copy link
Member

我对 mpx 不熟,等我有空研究一下

@yangmingshan
Copy link
Member

今天刚好在 GitHub 主页上看到了 Mpx,非常粗略的看了一下。确实如你所说,二者的设计哲学十分相似,可能最显著的区别就是 Mpx 是基于 Vue 2 的,Vue Mini 是基于 Vue 3 的。说的更底层一点,Mpx 的响应式数据是用 Object.defineProperty 实现的,Vue Mini 是直接使用的 Vue 3 基于 proxy 的响应式核心 @vue/reactivity

@yangmingshan
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants