Rename SSRManifest to ServerConsumerManifest by sebmarkbage Β· Pull Request #31299 Β· facebook/react
This config is more generally applicable to all server-side Flight Clients and not just SSR.
That would need to be changed in React. With a Flight Client now also being used in the RSC layer, I believe there's a couple of places where the wording doesn't quite fit anymore. See also github.com/facebook/rea...
25.10.2024 12:34 β π 3 π 0 π¬ 1 π 0
The key can be created before initial render. The temporary references are created/resolved by their path in the args.
25.10.2024 12:20 β π 5 π 0 π¬ 1 π 1
The cache key is generated using the Flight Reply Client, so the children are stable temporary references.
25.10.2024 11:46 β π 1 π 0 π¬ 1 π 0
x.com
It's powered by the same technique as x.com/sebmarkbage/....
Non-serialisable args like children are serialised as temporary references when the cached RSC payload is created. When the cached component is then called again, the temporary references are resolved back to the current args.
25.10.2024 11:43 β π 1 π 0 π¬ 2 π 0