b-o-a is a simple framework.
Concepts
- uni-directional
- single dispatcher
- action cycle
Types
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
;
Installation
$ npm install b-o-a
Handlers
- 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)
Libraries
- 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)
Examples
- boajs/counter-boa ... 0.8.0 / about 250 lines
- boajs/todomvc-boa (demo) ... 0.6.2 / about 500 lines
Badges
License
Source Code
Logo
MIT (@haskrock)