Bada
Bada's Coding

Follow

Bada's Coding

Follow

Loading Sign with Server-Side Rendering in Next.js

Bada's photo
Bada
·Jan 28, 2023·

1 min read

We can show a loading sign with Server-Side Rendering in Next.js. But, it only works when moving by Single-Page Application methods such as 'useRouter' or 'Link'.

Below is an example. Please check page1 and page2.

For example, the URL is zrweh2-3000.preview.csb.app/page1.

link

 
Share this