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
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
Coffee Product
This is an official product. (draft)
50€