0.0.3 • Published 5 years ago

@reredux/reredux v0.0.3

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

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>
0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago