Skip to content

provides reducer, which is used to process any change of the state, & action creator, which initiates any change of the state

Notifications You must be signed in to change notification settings

rocketstation/redux-action

Repository files navigation

Redux Action

Redux Action provides reducer, which is used to process any change of the state, & action creator, which initiates any change of the state

Installation

npm i @rocketstation/redux-action

Usage

import { createReducer } from 'redux-action'

createStore(createReducer({}))
import { changeState } from 'redux-action'

dispatch(changeState((s) => s))

Motivation

We were tired of writing this code again and again

License

Redux Action is licensed under the MIT License

Created by RocketStation

About

provides reducer, which is used to process any change of the state, & action creator, which initiates any change of the state

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published