We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request, i think it's important because:
I want to use multiple optimistic slices:
optimistic
For example, if i use multiple 'optimistic' slices, i want each 'optimistic' enhancer react only on own actions:
const enhancedRootReducerNested = combineReducers({ counter1: optimistic(counterReducer1), // 'INC_1' counter2: optimistic(counterReducer2), // 'INC_2' }) test('only react on own BEGIN', t => { const begin0 = makeAction('INC_2', BEGIN, 0); const state1 = enhancedRootReducerNested(undefined, begin0); const expected = { counter1: { beforeState: undefined, history: [], current: 0 }, counter2: { beforeState: 0, history: [begin0], current: 1 }, }; t.deepEqual(state1, expected); });
Can be related with #54
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature request, i think it's important because:
I want to use multiple
optimistic
slices:For example, if i use multiple 'optimistic' slices, i want each 'optimistic' enhancer react only on own actions:
Can be related with #54
The text was updated successfully, but these errors were encountered: