dillon1000/react

Commit

Added check to deduplicate function type warning calls on each compon… (#11120)

* Added check to deduplicate function type warning calls on each component type

* Added test to check that 'function type as React child' warning is deduplicated correctly by component type

* Ran prettier on added code

* Modified test checking deduplication of 'Functions are not valid as a React child' warning so it will check against rerendering component now
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/__tests__/ReactComponent-test.js ModifiedM src/renderers/shared/fiber/ReactChildFiber.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…