Skip to content

[Bug?]: Hydration mismatch -- ContextProvider inside Show inside Suspense #1941

@iacore

Description

@iacore

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

"hydration mismatch" "hydration key not found"

Expected behavior 🤔

it should work

Steps to reproduce 🕹

Steps:

  1. git clone https://codeberg.org/iacore/kanban.git -b solidstart-debug
  2. Follow README.md

Now you will see that it is broken.

To make it work, remove !data.loading && inside app.tsx.

Alternatively, move <ContextProvider> outside <Show>.

Context 🔦

See the comments in app.tsx.

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