dillon1000/react
Commit
Browse files Revert "Don't mutate passed-in props"
This reverts https://github.com/facebook/react/pull/576 This approach mutates the default props for the instance on each update, which causes incorrect behavior. discussed with @balpert. can look into cloning but this unbreaks.
Changed paths2 files
First-parent comparisonsrc/core/ReactCompositeComponent.js ModifiedM src/core/__tests__/ReactCompositeComponent-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…