Example, using SSR
This page uses server side rendering (SSR) because it uses
When this page is loaded through a client-side rendering (AKA "transition") (using
Learn more about the technical details
Each page refresh (either SSR or CSR) queries the GraphQL API and displays products below.
If you use NRN Admin and update the products there, then the products below will be updated immediately, because each page refresh will fetch the latest content.
getServerSideProps
.When this page is loaded through a client-side rendering (AKA "transition") (using
next/link
or I18nLink
) then Next.js sends an API request to the server which runs the getServerSideProps
and returns the result as JSON.Learn more about the technical details
Each page refresh (either SSR or CSR) queries the GraphQL API and displays products below.
If you use NRN Admin and update the products there, then the products below will be updated immediately, because each page refresh will fetch the latest content.
Published products
ckhvuorjc12ln0a6250kqc4vh
Produit officiel
Ceci est un produit officiel.
500€
Draft products
ck9sa961jdlv30b200g0xress
My awesome product
dfgdfgdfg
1001€
cka03dmp6u62x0b84c2a9jci5
7iomka-fr
54444€
ckb4ifcq9fu2e0b14lmkuvq9w
ohlalaa
5€
ckb9jebcylaqn0903s5fa4qag
pizza
65€
ckbqh8r7v1u6w0b14tbqapkxu
5€
ckc0pxz3unj8m0903fyc61m6e
My bouncy house
s
69€
ckffdcd4xo4uc0b77s8gy419y
DRS title
69€
ckgmhe5m0kbax0911ztorhixy
Moni
5€
ckhc0jfzeu4ao0b77hn1d3g0z
rrsers
5€
ckhq0tnvwezu10b77wf8tsdb8
5€
ckhuxlz87lo280b779tueku96
dw
5€
ckhvuorjc12ln0a6250kqc4vh
Produit officiel
Ceci est un produit officiel. (brouillon)
50€