Next Monorepo Pattern

Use when working in a Next.js App Router monorepo with a shared packages/ui — adding a route/page, a form or dialog, a list/table component, or deciding where a component/hook/util belongs. Use when the user asks where a component/hook/util/page should live, whether something is server or client, or whether a form should be role-specific. For the data-fetching/mutation pattern itself (prefetch, hydrate, useQuery, server actions, optimistic updates), see next-tanstack-query.

encurehq 2513781 5 files · 11.1 KB Updated

File contents

encurehq/skills/tree/main/skills/next-monorepo-pattern commit 2513781c06

Frequently asked questions

npx skillmds@latest add encurehq/next-monorepo-pattern