Skip to content
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

Streaming HTML #5

Open
thescientist13 opened this issue Apr 26, 2022 · 1 comment
Open

Streaming HTML #5

thescientist13 opened this issue Apr 26, 2022 · 1 comment
Assignees
Labels
feature New feature or request help wanted Extra attention is needed
Milestone

Comments

@thescientist13
Copy link
Member

thescientist13 commented Apr 26, 2022

Type of Change

  • New Feature Request

Summary

Would like to explore how to provide a streaming API that could also break apart the page at render roots.

So for example a page like this could come out in multiple flushes

<body>
  <my-header></my-header>
  <my-app></my-app>
  <my-footer></my-footer>
</body>

Would flush across those component definitions / boundaries / islands.

Details

To go even further, maybe we could recursively stream nested roots? Like in this example
wcc-architecture

Links / References

@thescientist13 thescientist13 added the feature New feature or request label Apr 26, 2022
@thescientist13 thescientist13 added this to the 1.0 milestone Apr 26, 2022
@thescientist13 thescientist13 self-assigned this Apr 26, 2022
@thescientist13 thescientist13 mentioned this issue Apr 26, 2022
4 tasks
@thescientist13
Copy link
Member Author

Hmm, this thread seems to imply that streaming with DSD is not possible, and that a DOM is needed server side. For the second part, I wonder if wcc (AST parser) is exempt from that classification and maybe we could stream?

@thescientist13 thescientist13 changed the title parallel and out of order streaming HTML streaming HTML (parallel and out of order) Apr 26, 2022
@thescientist13 thescientist13 added the help wanted Extra attention is needed label Apr 30, 2022
@thescientist13 thescientist13 pinned this issue May 20, 2022
@thescientist13 thescientist13 changed the title streaming HTML (parallel and out of order) Streaming HTML Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant