coflux
Flux at the Component Level.
App state is simply a dependency of your components. Coflux was built to make your components define it's own dependencies, and handle it's own UI and actions. This steals from some ideas of Redux with a different implementation and brings new performance benefits previously not possible.
Documentation
Example
// app.js ;; const defaultStore = user: firstName: 'foo' lastName: 'bar' id: 123 loggedIn: true ; ReactDOM;
// User.js; { return <div> <div>firstName lastName</div>; <button onClick=actionslogOut>Log Out</button> </div> ;} UserComponent { return firstName: 'user.firstName' lastName: 'user.lastName' id: 'user.id' loggedIn: 'user.loggedIn' ; } actions: { ; } ;
Roadmap
Not particularily in execution order..