Write React components as typed Effect programs.
This repository contains Effect View, its documentation, development examples, and supporting tooling. Effect View brings Effect's typed services, resource safety, concurrency, and data modeling to React while keeping ordinary React components, hooks, and JSX.
| Package | Description |
|---|---|
effect-view |
The Effect View library for Effect v4 and React 19. |
@effect-view/vite-plugin |
Vite Fast Refresh support for Effect View components. |
docs |
The Effect View documentation, built with Docusaurus. |
example |
Example application using Effect View and Effect v4. |
effect-fc |
Legacy Effect v3 package. |
effect-fc-example |
Example application for the legacy package. |
The monorepo uses Bun workspaces and Turborepo.
bun installRun checks and builds from the repository root:
bun run lint:tsc
bun run lint:biome
bun run test
bun run buildStart the Effect View example or documentation site:
bun run --cwd packages/example dev
bun run --cwd packages/docs startRead the documentation at thila.dev/effect-view.