redux-delegator:以结构化方式组成redux reducer

时间:2024-06-09 09:24:00
【文件属性】:

文件名称:redux-delegator:以结构化方式组成redux reducer

文件大小:4KB

文件格式:ZIP

更新时间:2024-06-09 09:24:00

JavaScript

#redux-delegator 以结构化方式组成减速器 const companiesReducer = handleActions({ ADD_COMPANY: (state, {payload:{doc, ASIN}}) => state.set(ASIN, doc), REMOVE_COMPANY: (state, {payload:{ASIN}}) => state.delete(ASIN), DROP_COMPANIES: (state, action) => Immutable.fromJS({}) }, Immutable.fromJS({})) const dbReducer = handleActions({


【文件预览】:
redux-delegator-master
----.travis.yml(37B)
----.eslintrc(273B)
----.babelrc(34B)
----package.json(911B)
----src()
--------index.js(1001B)
--------__tests__()
----.npmignore(3B)
----.gitignore(39B)
----Makefile(445B)
----README.md(2KB)

网友评论