Skip to content

Resolving implicit thead can lead to invariant violation #2005

Closed
@syranide

Description

@syranide

http://jsfiddle.net/9Q2m2/

Internet is more or less unavailable for me right now, so can't test more thoroughly. But thinking about it, it seems that the "blind-jumps" we do now to detect and resolve implicitly added elements (mainly thead) appears to not actually be safe as-is. Personally I feel like the solution is to not resolve implicitly added elements at all, but rather tell the user of his/her error instead and have them fix it.

Related PR #1987 (Provide a friendly path for reactID errors in ReactMount)

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