Filipi
TTCTheo's Typesafe Cult
•Created by Filipi on 4/14/2025 in #questions
Suspense Boundary inside `layout.tsx` with `ppr` and `dynamicIO` enabled
Hi guys, I was watching theo's video on why is next.js so slow and my mental model for DynamicIO + PPR went downhill after the part he adds a
Suspense
wrapping children
in the layout and that doesn't work.
I've tried to follow the explanation but I didn't really get it why it didn't work...
I thought the compiler would pre-render everything until the first async component for that route (including layouts) and put that in the static bundle for the route.
Can anyone please explain what I'm missing here?6 replies