Enhancers for integrating redux-dynostore with redux-subspace.
import dynamic from '@redux-dynostore/react-redux'
import { attachReducer } from '@redux-dynostore/redux-subspace'
export default dynamic('identifier', attachReducer(myReducer))(MyComponent)
This enhancer is similar to the base dispatchAction
enhancer, except the action is namespaces with the dynamic
component's identifier:
import dynamic from '@redux-dynostore/react-redux'
import subspaced, { dispatchAction } from '@redux-dynostore/redux-subspace'
export default dynamic('identifier', subspaced(), dispatchAction({ type: 'MY_ACTION' }))(MyComponent)