reactjs - React19 and Nextjs15 Hydration errors - Stack Overflow

admin2025-04-20  0

sometimes a get random hydration error out of nowhere. and it doesnt specify like div inside a p tag. it just shows up even I add surpessHydrationErrors on both html and body tags. sometimes, I just get

+ className="class_6x7v ..random shit"
- className="class_17563 ..random shit but different"
how can I solve this random tailwindCSS ?

sometimes a get random hydration error out of nowhere. and it doesnt specify like div inside a p tag. it just shows up even I add surpessHydrationErrors on both html and body tags. sometimes, I just get

+ className="class_6x7v ..random shit"
- className="class_17563 ..random shit but different"
how can I solve this random tailwindCSS ?
Share Improve this question asked Mar 3 at 6:53 CoshgunCoshgun 112 bronze badges 2
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Bot Commented Mar 3 at 17:00
  • thanks for help! I was using a template-repo, which was in 14, but I though it was in v15. again, thanks! – Coshgun Commented Mar 5 at 17:29
Add a comment  | 

1 Answer 1

Reset to default 0

Use useEffect to apply dynamic classes

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745106469a285319.html

最新回复(0)