dillon1000/react

Commit

Move logic for `null` to instantiateReactComponent

This cleans up the code a bit and also brings us closer to allowing any ReactNode to be rendered at the top level.

Test Plan: jest
Browse files
Changed paths5 files
First-parent comparison
M src/browser/ui/ReactMount.js ModifiedM src/core/ReactCompositeComponent.js ModifiedM src/core/ReactEmptyComponent.js ModifiedM src/core/__tests__/ReactEmptyComponent-test.js ModifiedM src/core/instantiateReactComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…