grip
grip
NNuxt
Created by grip on 6/4/2024 in #❓・help
Third-party script hydration mismatch
Hey, I have a third-party script for my CMP which modifies part of the <body> to add the elements required to show the cookie banner. The script is loaded with async and defer. When these elements are added, I get a hydration error. Using the app:mounted hook or some fixed timeout to show the banner is a solution but then i get a hit in LCP. Any recommendations on how to approach this? thanks!
5 replies
NNuxt
Created by grip on 5/16/2024 in #❓・help
Prerender specific page/route components
Hey there, I have a page with static content but a dynamic header and footer. Is there any way to pre-render only the content part of the page which is located in a separate component while normally using SSR for the rest of the layout? Thanks!
1 replies