b-o-a is a simple framework.
Twitter hashtag is #boajs.
- uni-directional
- single dispatcher
- action cycle
type O<T> = Observable<T>;
type A<T> = { type: string; data?: T; };
type HandlerOptions = { re: (action: A<any>) => void; };
type Handler = (action$: O<A<any>>, options?: HandlerOptions) => O<A<any>>;
type run = (app: Handler) => void
;
$ npm install b-o-a rxjs@5.0.0-beta.6 # you can use rxjs@5.x
- bouzuya/boa-handler-dom (npmjs:boa-handler-dom)
- bouzuya/boa-handler-history (npmjs:boa-handler-history)
- bouzuya/boa-handler-init (npmjs:boa-handler-init)
- bouzuya/boa-handler-request (npmjs:boa-handler-request)
bouzuya/boajs-handler-dom (npmjs:boajs-handler-dom)bouzuya/boajs-handler-history (npmjs:boajs-handler-dom)bouzuya/boajs-handler-init (npmjs:boajs-handler-init)bouzuya/boajs-handler-request (npmjs:boajs-handler-request)
- bouzuya/boa-core (npmjs:boa-core)
- bouzuya/boa-router (npmjs:boa-router)
- bouzuya/boa-vdom (npmjs:boa-vdom)
bouzuya/boajs-core (npmjs:boajs-core)bouzuya/boajs-router (npmjs:boajs-router)bouzuya/boajs-vdom (npmjs:boajs-vdom)
- boajs/counter-boa ... 0.8.0 / about 200 lines
- boajs/todomvc-boa (demo) ... 0.6.2 / about 500 lines
- boajs/hackernews-boa (demo) ... core 0.8.0 & dom 0.7.0 & history 0.7.0 / about 1100 lines
MIT (@hashrock)