dillon1000/react
Commit
Browse files ReactMount calls a legacy factory use createDescriptor instead
This fixes some log spew since this pattern is deprecated. This doesn't use the validator in the descriptor creation so there's no prop type checks here. I guess that's fine because we still have the second prop type checks. We need to use ReactLegacyDescriptor because the constructor here will be a legacy factory that we need to unwrap. constructAndRenderComponent should be deprecated.
Changed paths1 file
First-parent comparisonsrc/browser/ui/ReactMount.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…