Open stevermeister opened 5 years ago
recreate the concept
middleware
Store { state private reducer(state, action) { switch(action) { return state.copy(); } } dispatch(action) { return reducer(state, action) } } action: {type: string, payload: any}
Would be great to get full understanding of pros and cons of the approach
recreate the concept
middleware