dillon1000/react
Commit
Browse files Remove unnecessary warning for invalid node
We have an invariant that checks the same case right afterwards. The warning was originally added in #5884 with a distinct wording. However it was later changed to the same wording as the invariant in #6008. I don't see why we would want to have both since they're saying the same thing and with (almost) the same internal stack.
Changed paths2 files
First-parent comparisonsrc/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js ModifiedM src/renderers/shared/stack/reconciler/ReactCompositeComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…