Skip to content

Commit

Permalink
Add info that Firebase also doesn't support stream loading data like …
Browse files Browse the repository at this point in the history
…AWS Lambda (#11640)

Firebase is a popular deployment target so users should know about this.
  • Loading branch information
olek-osikowicz authored Jan 15, 2024
1 parent fe1a11e commit 22f4a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/20-core-concepts/20-load.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export function load({ fetch }) {
}
```

> On platforms that do not support streaming, such as AWS Lambda, responses will be buffered. This means the page will only render once all promises resolve. If you are using a proxy (e.g. NGINX), make sure it does not buffer responses from the proxied server.
> On platforms that do not support streaming, such as AWS Lambda or Firebase, responses will be buffered. This means the page will only render once all promises resolve. If you are using a proxy (e.g. NGINX), make sure it does not buffer responses from the proxied server.
> Streaming data will only work when JavaScript is enabled. You should avoid returning promises from a universal `load` function if the page is server rendered, as these are _not_ streamed — instead, the promise is recreated when the function reruns in the browser.
Expand Down

0 comments on commit 22f4a23

Please sign in to comment.