meiosis-setup Documentation

⬆ Contents Patches

Installation

For use with TypeScript, install meiosis-setup using npm:

npm i meiosis-setup

Then you can import it and use it with this code:

import { meiosisSetup } from 'meiosis-setup';

interface State {
  // your application state type
}

const cells = meiosisSetup<State>();

The setup gives you a stream of cells as explained in the Meiosis documentation.

⬆ Contents Patches

Meiosis is developed by foxdonut (Twitter / GitHub) and is released under the MIT license.