Every HydrationError in Next.js

preview_player
Показать описание
Who can relate? 😫

📣 Follow Coding in Flow on social media:
Рекомендации по теме
Комментарии
Автор

my best solution for this problem are, make a component that return a react fragment with children props, and if this solution doesnt work then i will wrap all the pages inside app comp with useEffect😂

zildjianvitosulaiman
Автор

suppressHydrationWarning is like the
try { ... } catch { /* stop annoying errors */ }
for hydration.

Dev-Siri
Автор

These hydration errors feel impossible to resolve and I would buy you many coffees if you discover a solution.

xAndy
Автор

I close the browser and I go to sleep 😂the morning I found no errors

xtz_
Автор

I just figure out why hydratio failed in the NextJs world, the commont mistakes are we change DOM value without declare 'use client' on the related component 😂

rudi-batubara
Автор

Hi i have added another layout for profile in which i don't want to show the navbar or footer like stuff . I added a useeffect in layout but stills get the error like this whenever any toast or like any images error i got is there any solution for that ?

usamariaz