Page
↔ export default
FC to display unique UI for next
File System Router
aka Pages
/pages
to export Pages in Next 12
/app
to export Pages in Next 13 (default to Server Component)
References
/pages
↔ ( Next 12 ) dir to export default Pagepage.tsx
↔ Pageexport default
UI for Next Route vs dirpath, default Server Component - else"use client"
opt-inIncremental Adoption
↔ (feat) Next 12 compat with Next 13, can migrate individual Page from/pages
to/app
layout.tsx
↔ ( Next 13 ) Page toexport default
layout UI to share withchildren
loading.tsx
↔ ( Next 13 ) Page toexport default
loading UI on Trigger Suspense Boundarynot-found.tsx
↔ ( Next 13 ) Page toexport default
UI for Catch All Routeerror.tsx
↔ ( Next 13 ) Page toexport default
UI on Trigger Error Boundary/app
↔ ( Next 13 ) dir to export Page, allows ColocationParallel Route
↔ (feat) Next Router to show Route for 2+ Pages in same view, for independent navShared Layout
↔ UI to share mutliple Pages viachildren
, to preserve state & not trigger re-renderRoot Layout
↔ top-levellayout.tsx
to share across all Pages in App, to define<html\>
&<body\>
head.tsx
↔ ( Next 13 ) Page toexport default
<head\>
for each Page RouteuseRouter()
↔ Next Library Hook to returnrouter
function to Imperatively navigate within Page[id].tsx
↔ ( Next 12 ) FC toexport default
Page with Dynamic Route with_id
URL ParameterOn-demand Revalidation
↔ (feat) to manually purge HTTP Cache for specific ISR Page/pages/api
↔ dir to map to API endpoint, instead of Page for server-side bundleShallow Route
↔ (feat) to change URL w/o repeat Data Fetch for current PageIndex Route
↔ Next.js routes allindex.tsx
Page to Leaf dir