A buildable tutorial for building an app on Effect Native, written against what's actually shipped in this repository — not what's planned.
You don't need to know Effect already, but you should be comfortable reading TypeScript. If you've used React or React Native, most of the friction is unlearning specific habits (components as functions, state as hooks, event handlers as closures) — page 3 covers the intent algebra that replaces those.
Pre-alpha. APIs will change until a first tagged release. The catalog is
intentionally closed (see ../../GAPS.md).
Every ts/typescript code block in this guide is extracted and type-checked
by scripts/check-doc-snippets.ts
(pnpm run check:doc-snippets). The catalog tag list is guarded by
scripts/check-catalog-reference.ts.
- Install and setup
- Views are data
- The intent algebra
- The runtime
- The DOM renderer
- The React Native renderer
- Catalog reference
examples/guide-app is the runnable artifact this
guide builds toward — form composer, note list, delete modal, About link, and
responsive padding variants.
pnpm run example:guide # web at http://127.0.0.1:4177/
pnpm exec vp test --run ./examples/guide-app # testkit interaction testsOn mobile (Expo app under examples/mobile):
cd examples/mobile
EXPO_PUBLIC_EFFECT_NATIVE_SURFACE=guide bunx expo startThen open the iOS simulator from the Expo CLI (i key) — same guideAppView
tree as web.
- Signup + activity proof:
../proof.md/pnpm run example:web - Desktop chat slice:
../proof-desktop.md