App Router

acme.com
/
children

Instant Loading States

  • This example has an artificial delay when "fetching" data for each category page. loading.js is used to show a loading skeleton immediately while data for category page loads before being streamed in.
  • Shared layouts remain interactive while nested layouts or pages load. Try clicking the counter while the children load.
  • Navigation is interruptible. Try navigating to one category, then clicking a second category before the first one has loaded.