Skip to content

Doesn't support streaming response #929

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

Closed
1 task done
lili21 opened this issue Dec 28, 2022 · 2 comments
Closed
1 task done

Doesn't support streaming response #929

lili21 opened this issue Dec 28, 2022 · 2 comments

Comments

@lili21
Copy link

lili21 commented Dec 28, 2022

Describe the bug

the streaming response doesn't return immediately. Instead it wait for 3 seconds.

Link to the blitz that caused the error

https://stackblitz.com/edit/node-tzulpt?file=app%2Froutes%2Fstreaming-ssr-route2-multiple-api-calls.tsx,app%2Fentry.client.tsx,app%2Fentry.server.tsx,package.json,app%2Froutes%2Fstreaming-ssr-route1-one-api-call.tsx

Steps to reproduce

  1. click the second link
  2. wait for the response

Expected behavior

it should response without delay.

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 108.0.0.0
Major version = 108
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 118357675,
  "usedJSHeapSize": 114750103,
  "jsHeapSizeLimit": 2172649472
}
Hash = 6ebe18b1e1db1833797e3e4eb6ff802c375ee61b

Additional context

No response

@d3lm d3lm changed the title doesn't support streaming response Doesn't support streaming response Feb 22, 2023
@d3lm
Copy link

d3lm commented Feb 22, 2023

This is possibly a duplicate of #966.

@Nemikolh
Copy link
Member

Hey @lili21 ! We have now support for HTTP streaming and have fixed an issue with our runtime breaking hydration which means that your second link now works as expected. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants