next.js
fd38d5bf - segment cache: add test for passing unawaited promise to context provider (#89339)

Commit
31 days ago
segment cache: add test for passing unawaited promise to context provider (#89339) Adds a failing test proving that if the RSC response from a prefetch contains an unresolved promise, navigating to the page will cause the Suspense boundary wrapping the use of that promise to remain in fallback state indefinitely. This appears to have regressed in e9a03ac12cfe3c3fb6b16db42ade06e7382b9018, though the theory is that this is just uncovering a React bug rather than causing the issue. Closes #89170
Author
Parents
Loading