Redux Action provides reducer, which is used to process any change of the state, & action creator, which initiates any change of the state
npm i @rocketstation/redux-action
import { createReducer } from 'redux-action'
createStore(createReducer({}))
import { changeState } from 'redux-action'
dispatch(changeState((s) => s))
We were tired of writing this code again and again
Redux Action is licensed under the MIT License
Created by RocketStation