-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimplement SSR streaming with
FuturesUnordered
(#738)
* Drastically simply render_to_string_await_suspense * Use FuturesUnordered for streaming * Update expect test * Add create_isomorphic_resource * Add unit test for resources * Add docs on resources * Add some preliminary SSR streaming docs
- Loading branch information
Showing
13 changed files
with
424 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html data-hk="0.0"><head data-hk="0.1"><meta charset="utf-8" data-hk="0.2"><meta name="viewport" content="width=device-width, initial-scale=1" data-hk="0.3"><script>window.__sycamore_ssr_mode='blocking'</script></head><body data-hk="0.4"><no-ssr data-hk="0.6"></no-ssr><suspense-start data-key="1" data-hk="0.5"></suspense-start><!--/--><!--/--><!--/--><p data-hk="1.0">Suspensed component</p><p>Server only content</p><!--/--><!--/--><!--/--><suspense-end data-key="1"></suspense-end></body></html> | ||
<!DOCTYPE html><html data-hk="0.0"><head data-hk="0.1"><meta charset="utf-8" data-hk="0.2"><meta name="viewport" content="width=device-width, initial-scale=1" data-hk="0.3"><script>window.__sycamore_ssr_mode='blocking'</script></head><body data-hk="0.4"><suspense-start data-key="1" data-hk="0.5"></suspense-start><no-ssr data-hk="0.6"></no-ssr><!--/--><!--/--><p data-hk="1.0">Suspensed component</p><p>Server only content</p><!--/--><!--/--></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.