Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make temporary
NoStrictPassiveEffects
option work with `useModernSt…
…rictMode` (facebook#27105) ## Summary Since we are enabling `useModernStrictMode` flag internally, to make sure the internal testing of half StrictMode doesn't suddenly break, this PR makes sure it also works with `useModernStrictMode` true. ## Test plan: Manually set `useModernStrictMode` to true. `yarn test ReactOffscreenStrictMode-test -r=www-modern --env=development --variant=true` `yarn test ReactStrictMode-test.internal -r=www-modern --env=development --variant=true`
- Loading branch information