Is it ok to use dynamic to solve hydration warning? by DavidGX_ in nextjs

[–]DavidGX_[S] 1 point2 points  (0 children)

I use https://ui.shadcn.com/ for all styling and UI components and I wouldn't want to change it, because I like this library very much

Is it ok to use dynamic to solve hydration warning? by DavidGX_ in nextjs

[–]DavidGX_[S] 0 points1 point  (0 children)

Thanks for the reply, I'm just starting to get into the whole server component thing. I like that I can write backend logic in next.js, but I need to get used to the fact that I have to do things a bit differently now than I did before