Skip to content

feat: add a hydration binding map #7119

@janechu

Description

@janechu

🙋 Feature Request

Any content of certain elements gets modified or rendered by the element, so current hydration comments won't work. This should however be an option so there needs to be a third solution (outside of the standard data-fe-b and inline comments) to track bindings.

List of elements that have issues with inline comments:

  • <textarea> - will render the comments
  • <style>
  • <title> - the browser will escape the comments

💁 Possible Solution

Possibly we can use some kind of map for a web components content.

Example:

<my-component data-fe-b-map="UuWPQ2H"></my-component>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions