Skip to content

[Fiber] Throw on plain object children - #8890

Merged
acdlite merged 6 commits into
react:masterfrom
acdlite:fiberfragmentinvariants
Jan 31, 2017
Merged

acdlite merged 6 commits into
react:masterfrom
acdlite:fiberfragmentinvariants

Conversation

@acdlite

@acdlite acdlite commented Jan 30, 2017

Copy link
Copy Markdown
Collaborator

Fixes a few mores tests.

Also uncovered an oversight in the reconciler related to portals; was missing a portal case in updateSlot.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only need this in DEV

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this check any more; it's legacy. You can delete it and the test if you want.

Won't work if the returnFiber is a fragment. Not sure it matters;
warning will just be less descriptive.
Preserves Stack behavior. There's already a warning for this.
@acdlite
acdlite force-pushed the fiberfragmentinvariants branch from 621337e to 2a0fb5b Compare January 31, 2017 19:46
@acdlite
acdlite merged commit 35ddd05 into react:master Jan 31, 2017
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants