Skip to content

Updates to text nodes caused by signal changes are not hightlighted #472

@nicolo-ribaudo

Description

@nicolo-ribaudo

Demo:

const s = signal(0);

function inc() {
  s.value++;
}

export default function App() {
  return html`
    ${s}
    <button onclick=${inc}>Increment</button>
  `;
}

When "Highlight updates" is enabled, I would expect the number to be highlighted every time it changes because I click on the button.

Screen.Recording.2023-03-16.at.12.51.00.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions