• Accueil
  • Exemples
    Native features
    SSR (getServerSideProps)SSGSSG using fallbackSSG using revalidateCatch-all routes
    Built-in features
    HostingStages & secretsCI/CDStatic i18nMonitoringAPI (Airtable)CSS-in-JSCookies consentAnalyticsIconsCSS AnimationsUI components libraryDocs siteMarkdown as JSX
    Built-in utilities
    I18nLink componentAirtableAsset componentHooksHOCsAPIErrors handlingBundle analysisSVG to ReactSecurity auditTracking useless re-renders
  • Documentation
  • Code source
  • Aller au CMS

Native features

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

Accueil - 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: truewhen using SSG, otherwise it'll generate a 404 page, and won't be able to dynamically generate the page.

Utilisateur 1 - 2023
Tous droits réservés

Conditions générales d'utilisation
Politique de confidentialité
/static/images/LOGO_Powered_by_UNLY_BLACK_BLUE.svg