Loading video...

Video Failed to Load

Go Home

Suspense vs (Suspense + PPR) in Next.js

79,712 views • 1 year ago •via X (Twitter)

10 Comments

Miguel's profile picture
Miguel1 year ago

I don't quite understand the example. Rating is a component wrapped in a Suspense, why adding that makes the whole page show the 'Page Loading...' and not just the suspense loading?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

The book info is static (generated during build time) The Rating component uses cookies(), so when we add it, it opts out the entire page into a dynamic rendering (generating during the request) PPR allows us to keep the book info static and only render Rating dynamically

Eunho 은호's profile picture
Eunho 은호1 year ago

Does anyone know what that extension is for tailwind css class name ellipsis?

weisi's profile picture
weisi1 year ago

Off topic question, what tools are you using for recording and editing?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

@screenstudio

Atif Riaz's profile picture
Atif Riaz1 year ago

Great share

Ewzxyh's profile picture
Ewzxyh1 year ago

next14?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

15 canary

Safdar_Ali's profile picture
Safdar_Ali1 year ago

Bro I've question after lot's of Ai tools which make full website. So web developing is still a good or growing field for next upcoming years?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

Yes, it's better than ever (because of the tools)

Related Videos