Hydration issue implementing getStaticProps
I switched my site over to using static generation and now I'm getting a hydration error, but only on production.
When I turn off javascript and test the site everything looks good, but I'm getting errors in the console that the text doesn't match the server.
Here's an abbreviated version of the code:
My pages/article/[slug].tsx file is very similar, but taking a static list as well, and works without hydration error, so I've ruled out things like layout components.
0 Replies