Skip to content

Reactivity incorrectly executed when a variable is referenced in a function #8582

@raythurnvoid

Description

@raythurnvoid

Describe the bug

When a variable is referenced inside a function, svelte will incorrectly mark it as dirty even when it hasn't been updated with value = ...

Reproduction

https://svelte.dev/repl/8d8f53d0059c43df96e7e233f23fc567?version=3.59.1

writing in the first input field will trigger a log in console that is not expected.

Logs

No response

System Info

REPL

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions