Comments (6)
好棒,受不了 redux
居然能成为主流,太难用了!
from kuitos.github.io.
其实 redux 优点挺多的,只不过主张太强,用他就得接受他的一套价值观...
from kuitos.github.io.
我对全局状态管理是持反对态度的,就我接触的项目来说,公共的数据并不多,大部分数据都是页面级别的,此时,我更喜欢在UI层直接呼叫 service.js
,在 service.js
中处理与API的交互等等。
from kuitos.github.io.
@hstarorg 嗯,同意... 所以我倾向于 mobx,弱主张,它并不要求你单 store 或者 store 必须单例,它只提供一个依赖管理的机制,怎么用完全在你..
from kuitos.github.io.
这点比较赞同,完全可以把mbox封装在组件内部。
from kuitos.github.io.
所以下一篇啥时候更新?2333
from kuitos.github.io.
Related Issues (20)
- 前端工程化知识要点回顾&思考 HOT 25
- 组件设计之BEM法则 HOT 6
- 基于ui-router的非侵入式angular按需加载方案 HOT 37
- 2015前端生态发展回顾 HOT 67
- Web语义化标准解读 HOT 16
- Angular1.x + ES6 开发风格指南 HOT 21
- [译注] MVVM 模式 HOT 3
- TIT HOT 1
- Apollo GraphQL 在 webapp 中应用的思考 HOT 12
- 老树发新芽—使用 mobx 加速你的 AngularJS 应用 HOT 1
- 为 MobX 开启 Time-Travelling 引擎 HOT 2
- Webpack 中的 sideEffects 到底该怎么用? HOT 2
- [上海/杭州]蚂蚁金服体验技术部前端招聘(内推通道) HOT 3
- 可能是你见过最完善的微前端解决方案 HOT 9
- 微前端的核心价值 HOT 5
- 目标是最完善的微前端解决方案 - qiankun 2.0 HOT 4
- 探索微前端的场景极限 HOT 2
- ES 拾遗之赋值操作与原型链查找 HOT 9
- 关于 import-html-entry 库 中的疑问 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kuitos.github.io.