3da3c68db177f0d87b2bc62cca08a65eabf95a1c
Effect View Monorepo
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.
Packages
| 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. |
Development
The monorepo uses Bun workspaces and Turborepo.
bun install
Run checks and builds from the repository root:
bun run lint:tsc
bun run lint:biome
bun run test
bun run build
Start the Effect View example or documentation site:
bun run --cwd packages/example dev
bun run --cwd packages/docs start
Documentation
Read the documentation at thila.dev/effect-view.
License
Description
Write React function components using Effect generators!
https://thila.dev/effect-view
Languages
TypeScript
96.7%
CSS
3%
HTML
0.2%