SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[Flight] Update stale blocked values in `createModelResolver` (#28669)

Alternative to #28620.

Instead of emitting lazy references to not-yet-emitted models in the
Flight Server, this fixes the observed issue in
https://github.com/unstubbable/ai-rsc-test/pull/1 by adjusting the lazy
model resolution in the Flight Client to update stale blocked root
models, before assigning them as chunk values. In addition, the element
props are not outlined anymore in the Flight Server to avoid having to
also handle their staleness in blocked elements.

fixes #28595
H
Hendrik Liebau committed
93f91795a0c71bae4aadd7f082b91de0068a0f91
Parent: 95e6f03
Committed by GitHub <[email protected]> on 4/1/2024, 4:37:27 PM