Add `createWrap` function
danieljharvey opened this issue · 0 comments
danieljharvey commented
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.