dillon1000/react
Commit
Browse files 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
Changed paths2 files
First-parent comparisonsrc/renderers/__tests__/ReactComponent-test.js ModifiedM src/renderers/shared/fiber/ReactChildFiber.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…