https://media.graphassets.com/quality=value:100/resize=height:100/auto_image/lOXvIyIHQzyM8sbCLOo2
  • Home
  • Examples
    Native features
    SSR (getServerSideProps)SSGSSG using fallbackSSG using revalidateCatch-all routes
    Built-in features
    HostingStages & secretsCI/CDStatic i18nMonitoringCSS-in-JSCookies consentAnalyticsIconsCSS AnimationsUI components libraryDocs site
    Built-in utilities
    I18nLink componentHooksAPIErrors handlingBundle analysisSVG to ReactSecurity auditTracking useless re-renders
  • Documentation
  • Source code
  • Go to CMS

Native features

  • SSR (getServerSideProps)
  • SSG
  • SSG using fallback
  • SSG using revalidate
  • Catch-all routes

Home - Next section

Catch-all dynamic routes examples

You can change the url yourself to about anything you want, with multiple nested levels.
The page will be dynamically generated as static page (fallback: true) and served as a static page from now on.
URL slug parameters:
Go to some nested path
This feature allows you to use a dynamic page (catch-all) that will build subpages dynamically based on the parameters you provide.
It's extremely powerful and can be used to dynamically generate product pages, for instance.
You can also combine it with the revalidate option so that your page gets refreshed based on your revalidation strategy, to keep the content up-to-date, for instance.
Make sure you use fallback: true when using SSG, otherwise it'll generate a 404 page, and won't be able to dynamically generate the page.
https://media.graphassets.com/lOXvIyIHQzyM8sbCLOo2

Customer 1 - 2023
All rights reserved

Terms
Politique de confidentialité
/static/images/LOGO_Powered_by_UNLY_BLACK_BLUE.svg