dillon1000/react

Commit

Fix context in callbacks

callbacks like shouldComponentUpdate, componentDidUpdate, etc. were getting the full, unsanitized context, instead of the one that's been filtered down to only the fields allowed to be visible by contextTypes.
Browse files
Changed paths2 files
First-parent comparison
M src/core/ReactCompositeComponent.js ModifiedM src/core/__tests__/ReactCompositeComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…