https://github.com/piotrwitek/typesafe-actions
https://github.com/reduxjs/redux
https://github.com/redux-saga/redux-saga
https://github.com/reduxjs/reselect
Create template for adding store to project
Creates new module and connects it to store. Every module is constructed from following files:
- actions.ts
- constants.ts
- effects.ts
- index.ts
- reducers.ts
- selectors.ts
- types.ts
hygen module new --name entries
Creates simple action without payload and connects it to reducer.
Creates simple action with payload and connects it to reducer.
Creates asynchronous action with payload and connects it to reducer. Every action has following sub-types:
- REQUEST
- SUCCESS
- ERROR
- CANCEL
hygen action async-action --moduleKind modules --moduleName entries --name addEntry
Creates saga for given action.
hygen effect new --moduleKind modules --moduleName entries --name addEntry
Creates
Creates memoized selector for given module.
Creates simple selector for given module.
hygen selector memoized --moduleKind modules --moduleName entries --name getEntries
- refactor and write documentation
- publish