boajs-core
The core library for b-o-a.
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 boajs-core
Badges
License
Source Code
Logo
MIT (@haskrock)