Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

b-o-a

bouzuya61MIT0.9.0TypeScript support: included

A simple framework

b-o-a, boa

readme

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)

MIT (@haskrock)

Author

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