Rename `Hydrate` to `HydrationBoundary`
and remove useHydrate hook
Should the useHydrate hook be replaced with anything or just completely removed?
Should the
useHydratehook be replaced with anything or just completely removed?
It can be removed
Hey @TkDodo I would like to contribute to this issue and write the codemod for it
perfect, it's yours
@prateek3255 please wait with the code-mod until we have the setup in place, see:
- https://github.com/TanStack/query/issues/4705#issuecomment-1385437601
we'll probably create separate code-mod issues then for each one.
Hey, I think you should update the documentation here: <Hydrate state={dehydratedState}>
you're looking at v4 docs, the rename happened in v5
My bad, thanks dude 👍