Quickstart

React Router

A framework-mode rollout for React Router applications with CMS-driven routes, loaders, and prerendering.

React Router is a strong fit for Paragraph CMS when you want React-first routing with loader-based data fetching, CMS-driven paths, and prerendered content routes.

  • fetch published content in route loaders for stable content routes;
  • derive dynamic paths from CMS slugs during prerender configuration;
  • keep draft reads behind a dedicated preview runtime; and
  • centralize locale and slug resolution so routes and CMS entries stay in sync.

Implementation checklist

  • create shared content fetchers used by route loaders;
  • map CMS slugs to route params explicitly;
  • prerender known content routes from CMS data; and
  • rebuild or invalidate prerendered output when editors publish.

Remix note

If your team knows Remix, this is the same framework lineage. Current framework guidance now lives under React Router.