https://media.graphcms.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

Example, using SSG

This page uses static site generation (SSG) because it uses getStaticProps
(it also uses getStaticPaths, because it's necessary for i18n support, to generate a different page, per available locale).

Therefore, this page has been statically generated 3 times, for: fr | en-US | en

Learn more about the technical details

Each page refresh (either static or CSR) fetches the static bundle and displays products below.

If you use NRN Admin and update the products there, then the products below will NOT be updated, because each page refresh will still fetch the static content, which was generated at build time.
Therefore, changes there won't be reflected here. (but they'll be reflected on the SSR version though)
N.B: During development, the static page is automatically rebuilt when refreshing, so the above behaviour is only valid in staging/production stages.

Published products

ckhvuorjc12ln0a6250kqc4vh
https://media.graphcms.com/quality=value:100/resize=height:100/auto_image/EKw3Em7aRkqaYmowHWAN
Official product
This is an official product.
500€

Draft products

ck9sa961jdlv30b200g0xress
My awesome product
gdfgdfg1
1001€
cka03dmp6u62x0b84c2a9jci5
7iomka
54444€
ckb4ifcq9fu2e0b14lmkuvq9w
ayyy
5€
ckb9jebcylaqn0903s5fa4qag
pizza
65€
ckbqh8r7v1u6w0b14tbqapkxu
5€
ckc0pxz3unj8m0903fyc61m6e
Bouncy house
s
69€
ckffdcd4xo4uc0b77s8gy419y
DRS
69€
ckgmhe5m0kbax0911ztorhixy
Money
5€
ckhc0jfzeu4ao0b77hn1d3g0z
Testg
5€
ckhq0tnvwezu10b77wf8tsdb8
5€
ckhuxlz87lo280b779tueku96
dw
5€
ckhvuorjc12ln0a6250kqc4vh
https://media.graphcms.com/quality=value:100/resize=height:100/auto_image/EKw3Em7aRkqaYmowHWAN
Coffee Product
This is an official product. (draft)
50€
https://media.graphcms.com/lOXvIyIHQzyM8sbCLOo2

Customer 1 - 2021
All rights reserved

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