Skip to content

Two-pass rendering is broken in the hooks implementation #155

Open
@tstirrat15

Description

See comment here: #110 (comment)

In my head this points to a need for a test of two-pass rendering behavior, comparing the states of:

  1. server-side render
  2. first client-side pass (i.e. what would happen during hydration, before didMount/useEffect runs)
  3. second client-side pass

I'm pretty sure this is the set of expectations:

  • if defaultMatches is set, the first two would match and the third would not
  • if defaultMatches is not set, the first clientside pass should be complete
  • if defaultMatches is set and we're only on the client, we should get two renders.

Please correct me if the above is incorrect.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions