Skip to content
Source
Sign inSign up
TanStack/query

Rename `Hydrate` to `HydrationBoundary` #4692

Send to my agent
ClosedTkDodo opened this issue 8 comments
TkDodocommented

and remove useHydrate hook

  1. TkDodo added labelsv5

  2. ghostcommented

    Should the useHydrate hook be replaced with anything or just completely removed?

  3. Should the useHydrate hook be replaced with anything or just completely removed?

    It can be removed

  4. Hey @TkDodo I would like to contribute to this issue and write the codemod for it

  5. perfect, it's yours

  6. TkDodo assignedprateek3255

  7. TkDodo closed this

  8. @prateek3255 please wait with the code-mod until we have the setup in place, see:

    we'll probably create separate code-mod issues then for each one.

  9. Hey, I think you should update the documentation here: <Hydrate state={dehydratedState}>

  10. you're looking at v4 docs, the rename happened in v5

Sign in to join this conversation.