dillon1000/react
Commit
Browse files 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
Changed paths5 files
First-parent comparisonsrc/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…