This is a Next.js project bootstrapped with create-next-app
.
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:6060 with your browser to see the result.
- App/page
- Route group -> (main)、(store)
- Layout -> (main)/layout、(store)/layout
- Loading -> (main)/loading
- Error -> (main)/error
- Dyamic route -> (main)/ISR/[postId]
- SSR -> cache: "no-store", implement streaming ssr
- SSG -> cache: "force-cache" or empty
- ISR -> next: { revalidate: 10 } (main)/ISR/[postId], check ISR/4 in devtool's network tab.
- CSR -> skip duplicate api call (Cache-Status: MISS | HIT)
- Client component -> components/client
- Server component -> components/server
- Css
- Styled-component (> v6.0.0) -> styles/registry、(store)/layout
- Metadata -> (main)/layout、(store)/layout
- Next/font -> (main)/layout、(store)/layout
- Next/image -> (main)/page
- Next/link -> (main)/page
- middleware
- BE api