0.1.1 • Published 3 years ago
redux-merge-batch v0.1.1
how to use
if you want merge much dispatch
you can use this plugin
import { ReactMergeBatch } from 'redux-merge-batch'
export const store: EnhancedStore = createStore( combineReducers({appReducer}), compose(ReactMergeBatch) );
if you use reduxjs/toolkit
you can use
enhancer: ReactMergeBatch
then
you can dispatch much action for example dispatch(action1, action2)