One Line in My Root Layout Turned 158 Static Pages Into 0
DEV Community
One Line in My Root Layout Turned 158 Static Pages Into 0
Reading a cookie with cookies() in the Next.js root layout opts every route out of static rendering. What it cost this blog, measured, and how to fix a theme flash without it.
0 comments
No comments yet.