dillon1000/react
Commit
Browse files [fail] reset IsThisRendererActing correctly (#16042)
* [fail] reset IsThisRendererActing correctly I missed this in https://github.com/facebook/react/pull/16039. I'd pointed at the wrong previous state, corrupting it in further use. This PR fixes that, and adds a test to make sure it doesn't happen again. * warn for unacted effects only in strict mode
Changed paths5 files
First-parent comparisonfixtures/dom/src/index.test.js ModifiedM packages/react-dom/src/test-utils/ReactTestUtilsAct.js ModifiedM packages/react-noop-renderer/src/createReactNoop.js ModifiedM packages/react-reconciler/src/ReactFiberWorkLoop.js ModifiedM packages/react-test-renderer/src/ReactTestRendererAct.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…