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

Support Context API in Declarative Shadow Dom slotted elements (web-components SSR) #32

Closed
aralroca opened this issue Dec 30, 2023 · 0 comments · Fixed by #33
Closed
Assignees
Labels
enhancement New feature or request

Comments

@aralroca
Copy link
Collaborator

Related with #19

It's the missing piece to make the Context API work well:

Done before:

  • (server): Server Components
  • (client): Web Components after hydration, supporting slots
  • (server): SSR Web Components SSR, like Server Components that doesn't have slots

To do in this task:

  • (server): Support slots during SSR Web Components

To do that we are using the slot behavior of Declarative Shadow Dom (way to support SSR of web-components). We will have to change the renderToReadableStream logic to support slots.

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

Successfully merging a pull request may close this issue.

1 participant