dillon1000/react

Commit

[Fiber] Make bad element type message same as in Stack (#8460)

* Make bad element type message same as in Stack

This makes Fiber emit the same message as Stack (aside from the missing owner information).

* Add a separate test verifying error includes owner name

Fiber currently doesn't pass it. This is just to keep track of it as a todo.
Browse files
Changed paths4 files
First-parent comparison
M scripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/shared/fiber/ReactFiber.js ModifiedM src/renderers/shared/shared/__tests__/ReactComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…