Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Shallow renderer passes context to componentWillReceiveProps #10342
In a recent conversation between @lelandrichardson, @flarnie, and myself, @lelandrichardson pointed out that the new React 16 shallow renderer did not pass the 2nd param,
This was an oversight that has been corrected with this PR. I also added a new test to ensure that the new shallow renderer passes the expected params (and only those params) to each lifecycle method.