2.0.0 • Published 5 years ago

@rocketstation/redux-action v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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

2.0.0

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago