Skip to content

clientLoader.hydrate doesn't work without HydrateFallback #13237

@theMosaad

Description

@theMosaad

I'm using React Router as a...

framework

Reproduction

Go to https://stackblitz.com/edit/github-2p1zyuxd?file=app%2Froutes%2Fhome.tsx,package.json and observer the initial request

System Info

stackblitz

Used Package Manager

npm

Expected Behavior

clientLoader to throw an error on initial request

Actual Behavior

clientLoader is skipped except when exporting a HydrateFallback component

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