-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(handler): return promise of stream with allReady #1083
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
I think we can revert #1078 with this change. cc @rmarscher |
This reverts commit 86b805a.
allReady waits for all of the suspense boundaries to render. #1078 just waits for the first chunk to start sending. They are not the same. I think it's best to keep the waitForFirstByte to allow more flexibility with running server-side code before the first suspense boundary. |
I understand it's not the same, but If |
Ah, ok. Yes. I just tested with v0.21.10. This is great. The handleRequest promise now waits on the |
Fixes #1082
Reverts #1078