JimmyLv / JimmyLv/jimmylv.github.io

Redux 性能

Open
#212 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
731
Forks
114
PR merge metrics
No merged PRs in 30d

Description

## 项目纵向拆分

> 纯数据流,纯ui,我觉得是好的方向。我们现在的项目里,第一是有异步的api调用,第二是引入了内存数据库。理想的情况是,组件更新时,所以数据都作为props准备好。不过有了异步和不同数据源,导致了需要加一些状态判断和管理,不同数据源的痛点是,组件更新时,数据没准备好,数据准备好了,组件不知道。内存数据库据说是因为数据量太大,性能搞不定了。

- ImmutableJS
- [Performance · Redux](http://redux.js.org/docs/faq/Performance.html)

------

- [paularmstrong/normalizr: Normalizes nested JSON according to a schema](https://github.com/paularmstrong/normalizr)
- [omnidan/redux-ignore: higher-order reducer to ignore redux actions](https://github.com/omnidan/redux-ignore)
- [reactjs/reselect: Selector library for Redux](https://github.com/reactjs/reselect)

### ⓵ 定义目标和原则

### ⓶ 展望结果

### ⓷ 头脑风暴

### ⓸ 组织整理

### ⓹ 明确「下一步行动」

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.