dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonsrc/renderers/testing/ReactShallowRendererEntry.js ModifiedM src/renderers/testing/__tests__/ReactShallowRenderer-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…