Skip to content

Block elements inside p cause rehydration failures #249

@aghassemi

Description

@aghassemi

Example:
<p> <div> foo </div> </p>

Browser close p when seeing a block element inside, so, for example above, they end up creating a DOM that matches <p></p> <div></div> instead.

I suspect Simple DOM used in Fastboot does not behave the same, this results in rehydration markers getting messed up and ends with rehydration errors on the client side halting the whole app.

/cc @krisselden @rwjblue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions