SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Remove createRootStrictEffectsByDefault flag (#28102)

There's no need to separate strict mode from strict effects mode any
more.

I didn't clean up the `StrictEffectMode` fiber flag, because it's used
to prevent strict effects in legacy mode. I could replace those checks
with `LegacyMode` checks, but when we remove legacy mode, we can remove
that flag and condense them into one StrictMode flag away.
R
Ricky committed
3d1da1f9ab7d54984c096e6a04c8729f3a50fd8a
Parent: 4dd475c
Committed by GitHub <noreply@github.com> on 2/1/2024, 7:54:20 PM