Redux Export
Export module Redux bootstrap.
What is Redux Export?
Minimal Gear using Redux to develop modularized applications.
Getting started
Install
yarn add redux-export
Basic Usage
const MY_ACTION = 'MY_ACTION_CONST' const reducer = MY_ACTION: ...state foo: payload const middleware = MY_ACTION: { const state = store; console return } const initialState = foo: 'HERE'const MyModuleFoo = reducer middleware initialState
const OTHER_ACTION = 'OTHER_ACTION_CONST' const reducer = ...state bar: payload const middleware = { if actiontype !== OTHER_ACTION return const state = store; console return } const initialState = bar: 'other'const MyModuleBar = reducer middleware initialState
const store = const divRender = document store