mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
`oldProps` was null. This went uncaught by the unit tests because ReactNoop did not use `oldProps` in either `prepareUpdate` or `completeUpdate`. I added some invariants so we don't regress in the future.