immer-reducer:带有Typescript的类型安全和简洁的reducer,用于React Hook和Redux

时间:2021-02-05 16:28:07
【文件属性】:
文件名称:immer-reducer:带有Typescript的类型安全和简洁的reducer,用于React Hook和Redux
文件大小:17KB
文件格式:ZIP
更新时间:2021-02-05 16:28:07
react redux typescript ReduxTypeScript 浸入式减速器 使用为React Hooks和Redux使用Typescript进行类型安全和简洁的缩减器! :package: 安装 npm install immer-reducer 您还可以安装来帮助您避免编写减速器时出现错误。 :flexed_biceps: 动机 转这个 :pile_of_poo: :pile_of_poo: :pile_of_poo: interface SetFirstNameAction { type : "SET_FIRST_NAME" ; firstName : string ; } interface SetLastNameAction { type : "SET_LAST_NAME" ; lastName : string ;
【文件预览】:
immer-reducer-master
----.gitignore(39B)
----package.json(1KB)
----tslint.json(106B)
----src()
--------immer-reducer.ts(11KB)
----.travis.yml(53B)
----jest.config.js(284B)
----__dtslint__()
--------generic-reducers.dtslint.ts(3KB)
--------immer-reducer.dtslint.ts(7KB)
----LICENSE(1KB)
----CHANGELOG.md(54B)
----tsconfig.json(314B)
----__tests__()
--------immer-reducer.test.tsx(14KB)
--------use-reducer-integration.test.tsx(1KB)
----README.md(10KB)
----tsconfig.build.json(247B)
----.vscode()
--------settings.json(56B)
----tsconfig.dtslint.json(60B)
----.prettierrc(73B)

网友评论