This example shows a minimal, practical integration of Effect with the Next.js App Router.
- @mcrovero/effect-nextjs: typed helpers for pages, layouts, middlewares, actions and routes — GitHub
- @mcrovero/effect-react-cache: tiny utility to cache Effect programs across React executions — GitHub
- Node.js 18+
- pnpm (recommended)
pnpm installpnpm devOpen http://localhost:3000.
pnpm build
pnpm start