dillon1000/react

Commit

Shallow renderer passes context to componentWillReceiveProps (#10342)

This parameter was accidentally omitted before. Leland reported it because it impacts Enzyme.
I also added a basic lifecycle parameter test for shallow renderer.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/testing/ReactShallowRendererEntry.js ModifiedM src/renderers/testing/__tests__/ReactShallowRenderer-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…