Installation
To add flowr
to your application dependencies you just need to run:
npm install flowr -S
This will download flowr
into your node_modules
folder and then you can import any flowr
component into your modules.
import { Maybe, Either, Await } from 'flowr';
// ...
Flowr
is tree-shaking friendly. As long as you are using ES6 modules, your bundle will contain only the required flowr
components. Read more about tree shaking
There are two categories of Components available: Conditionals and Schedulers