Skip to content

Svelte 5: Can not reassign $derived variable #12001

@Lucstay11

Description

@Lucstay11

Describe the bug

Can not reassign $derived variable

Reproduction

let tacheinput= $state(")
let title = $derived("Todo App:" +tacheinput)

title = "my new title" // not work

Logs

No response

System Info

not usefull

Severity

blocking all usage of svelte

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions