Skip to content

Can't find React context during hydration in dev #10131

Open
@brookslybrand

Description

@brookslybrand

Reproduction

This was brought up by Brian on Twitter

https://stackblitz.com/edit/remix-run-remix-egqqa7?file=app%2Froutes%2F_index%2Froute.tsx,app%2Froutes%2F_index%2Fstuff.tsx

System Info

StackBlitz

Used Package Manager

npm

Expected Behavior

No error should be thrown (only happens in hydration)

Actual Behavior

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeat:dxIssues related to the developer experiencepackage:devvite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions