Skip to content

feat: allow hydrateDocument to have serializeShadowRoot: scoped #6240

@Armand-Lluka

Description

@Armand-Lluka

Prerequisites

Describe the Feature Request

Currently, it's possible to use serializeShadowRoot: scoped when using renderToString to SSR hydrate. We would like to extend this option to hydrateDocument as well.

Describe the Use Case

We want feature parity in terms of rendering regardless of SSR rendering choice. Some of our consumers use hydrateDocument and would want to continue to use it moving forward.

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueThis is a good first issue for someone wantng to contribute to Stencil!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions