@rocketstation/redux-action

2.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @rocketstation/redux-action

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

2.55 kB

Total Files

6

Last publish

Collaborators

  • oleksiibilous
  • oleksiipysanko