dillon1000/react
Commit
Browse files Deprecate replaceProps
This isn't supported on plain JS classes anyway, so this is just adding a warning in DEV before the code throws.
Changed paths4 files
First-parent comparisonsrc/modern/class/ReactComponent.js ModifiedM src/modern/class/__tests__/ReactCoffeeScriptClass-test.coffee ModifiedM src/modern/class/__tests__/ReactES6Class-test.js ModifiedM src/modern/class/__tests__/ReactTypeScriptClass-test.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…