dillon1000/react
Commit
Browse files Removes legacy TODOs in createfactory methods (#11942)
* Removes legacy TODO from createFactory() * Removes legacy TODO from createFactoryWithValidation() * Adds comment "Legacy hook: remove it" This is based on Dan Abramov's suggestion (source: https://github.com/facebook/react/pull/11942#issuecomment-354818632)
Changed paths2 files
First-parent comparisonpackages/react/src/ReactElement.js ModifiedM packages/react/src/ReactElementValidator.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…