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

Why not Redux! #3

Open
matttrix1999 opened this issue Jun 13, 2019 · 0 comments
Open

Why not Redux! #3

matttrix1999 opened this issue Jun 13, 2019 · 0 comments

Comments

@matttrix1999
Copy link
Owner

在一开始学习 React 的时候,我并没有使用 Redux,在使用 Redux 之后,我并没有感受到它的优势,直到我开始使用 Mobx,才感觉到状态管理的重要性。可能我对 Redux 的理解还不够深刻,但从解决问题的角度思考:相比 Redux,Mobx 在组织代码方面更为人性化

如果用 React 构建应用程序的话,我想路由和状态管理必不可少,即使是一个简单的博客应用。路由管理可能没有太多选择,方式上也区别不大。状态管理除了 Redux 和 Mobx 外,最近更新的 storeon 也值得关注

如果用 Vue 构建应用程序的话,官方的 Vue-Router 和 Vuex 是绝对的首选。在尝试了一段时间 Vue 开发,我觉得目前这两大前端框架各有优势,不过从状态管理来说,我会选择 Vuex

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

1 participant