b-o-a
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

b-o-a

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

Search all handlers

Libraries

Examples

Badges

Circle CI

License

Source Code

MIT (@bouzuya)

Logo

MIT (@haskrock)

Author

bouzuya <m@bouzuya.net> (http://bouzuya.net)

Readme

Keywords

Package Sidebar

Install

npm i b-o-a

Weekly Downloads

3

Version

0.9.0

License

MIT

Last publish

Collaborators

  • bouzuya