Nextjs hydratation error #546
-
When I re-render the page, I have hydratation error, How I can init default nuqs param with SSR/page mode ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Could you give us more context about your setup please? ( From your comment, I assume you are using the Pages router in Next.js, in a statically optimised page. If so, start with #290 and see if isolating your searchParams-enabled components from the build render helps. Otherwise, for a true SSR (at request time) page, you'd need to use |
Beta Was this translation helpful? Give feedback.
-
you are right, it works now with a getServerSideProps, I forgot it, thanks ! |
Beta Was this translation helpful? Give feedback.
you are right, it works now with a getServerSideProps, I forgot it, thanks !