shlux
v0.1.4
Published
Simple store for your fluxish application
Downloads
31
Readme
Shlux
Like Flux but simpler
Uses Immutable.js to store the state of the whole app, and when something changed in the store just triggers change
event
Installation
npm install immutable shlux
Example
import ReactDOM from 'react-dom'
import Store from 'shlux'
const store = new Store()
store.on('change', (props) => {
ReactDOM.render(<App {...props} />, document.getElementById('app'))
})