@reredux/reredux

0.0.3 • Public • Published

ReRedux

Build Status

store = createStore 'counter', -> counter: 0

store.addMutations
  inc: (m, inc = 1) -> m counter: m.state.counter + inc
  
...

export default store.connect(Counter)

...

 <button
  onClick={@props.counterStore.mutations.inc.onClick}
> 
  Inc
</button>

Readme

Keywords

Package Sidebar

Install

npm i @reredux/reredux

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

7.92 kB

Total Files

8

Last publish

Collaborators

  • vsych