dillon1000/react

Commit

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)
Browse files
Changed paths2 files
First-parent comparison
M packages/react/src/ReactElement.js ModifiedM packages/react/src/ReactElementValidator.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…