SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Unwrap a reference to a Lazy value (#34535)

If we are referencing a lazy value that isn't explicitly lazy ($L...)
it's because we added it around an element that was blocked to be able
to defer things inside.

However, once that is unblocked we can start unwrap it and just use the
inner element instead for any future reference. The race condition is
still there since it's a race condition whether we added the wrapper in
the first place.

This just makes it consistent with unwrapping of the rest of the path.
S
Sebastian Markbåge committed
565eb7888efa5d8e70273d9b7a16374131348cbb
Parent: d415fd3
Committed by GitHub <noreply@github.com> on 9/19/2025, 10:23:18 PM