danieljharvey/redux-atomic

Add `createWrap` function

danieljharvey opened this issue · 0 comments

Currently createAtomic is the only way to create a wrap function, and it is also the place where the reducer functions are passed in, so it's impossible to create a reducer function that fires further actions.

Suggest creating a createAtomicWrapper of type (reducerName: string): Wrapper<s> that can wrap actions separately.