Next.js Discord

Discord Forum

Suspense Flashing with PPR

Unanswered
Munchkin posted this in #help-forum
Open in Discord
MunchkinOP
I’ve been trying Next.js PPR, and it’s been good, but the suspense fallback flashing is killing me like, it flashes just for a few ms.

Is there a way to fix this? Or maybe a way to add a delay before showing the fallback?

I already tried using the use cache directive to have an SWR-like behavior, but it seems that the use cache directive doesn't work with PPR enabled.

I also tried to use staleTime on the next.config with the dynamic time configured at 5s, but it doesn't work with PPR either.

0 Replies