https://github.com/fi3ework/10x-list
https://github.com/fi3ework/10x-list
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fi3ework/10x-list
- Owner: fi3ework
- License: mit
- Created: 2018-04-27T15:40:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T06:21:42.000Z (about 8 years ago)
- Last Synced: 2024-10-19T19:58:25.691Z (over 1 year ago)
- Language: JavaScript
- Size: 220 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
- navList1: 每次返回一个新的 items
```js
store:{
items: {...}
}
```
- navList2: 分离出一个 ids 用来进行 map 渲染,然后每个 item 与 redux 相连
```js
store:{
ids: {...},
items: {...}
}
```
- navList3: 范式化结构,store 中只有 items,列表只进行初始化渲染,不再更新
```js
store:{
items: {...}
}
```