Skip to content

Install

For React apps, install the React package with its peers:

Terminal window
pnpm add @unitflow/react @unitflow/core effect@4.0.0-rc.115 react

For non-React runtimes, install the core package:

Terminal window
pnpm add @unitflow/core effect@4.0.0-rc.115

Packages:

effect is a peer dependency with the range >=4.0.0-rc.115 <5.0.0, so any 4.0.0-rc.* build from rc.115 onwards (and stable 4.x once it ships) satisfies it. Install exactly one effect in your project: a second copy means a second Effect runtime, and models silently stop making progress.

Continue with Overview for the core ideas, or jump straight to Stores to start writing model state.