Render-as-you-fetch for Effect Atom: typed error boundaries, and atoms prefetched from route loaders.
Note
raf-effect-atom is early. Both packages are on npm, pre-1.0, and the API can still change between minor releases. See Installation.
Effect Atom's registry is the cache. These packages add only what it lacks, as thin layers over Effect Atom and Effect RPC:
| Package | What |
|---|---|
effect-atom-boundary |
Error boundaries typed by an atom's error type: catch failures by _tag. |
raf-effect-atom |
Start atoms from TanStack Start, Next.js and React Router loaders before render, and stream them in. |
Both take effect, @effect/atom-react and react as peer dependencies.
The examples are one issue tracker on TanStack Start, Next.js and React Router, live and ready to open in CodeSandbox.
Coding agents: read llms.txt, which starts with the rules on For coding agents.