Skip to content

dolbyzerr/shlux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shlux Build Status

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'))
})

About

Like Flux but simpler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published