Skip to content

[Docs]: running clientLoader on hydration #13329

@theMosaad

Description

@theMosaad

Describe what's incorrect/missing in the documentation

According to How-Tos -> Client Data:

Note that since we are not exporting a HydrateFallback component, we will SSR the route component and then run the clientLoader on hydration, so it's important that your loader and clientLoader return the same data on initial load to avoid hydration errors.

This no longer works, see #13237 which was closed stating that a HydrateFallback component export is necessary contradicting the above.

If that's how it should work now, docs require an update (happy to help with that). If it's a bug, please re-open the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions