Skip to content

state_unsafe_mutation when an error happened inside the ":then" block #14186

Closed
@MartkCz

Description

@MartkCz

Describe the bug

It seems like Svelte gets stuck in an effect state.

Reproduction

https://svelte.dev/playground/6fbbf69c47894154bfa37c9fb83e7ac0?version=5.1.11

Type something in the text input

Logs

No response

System Info

System:
    OS: Linux 5.15 Manjaro Linux
    CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics
    Memory: 10.44 GB / 30.70 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.6.0 - /usr/bin/node
    npm: 10.8.2 - /usr/bin/npm
    bun: 1.1.24 - /usr/bin/bun
  Browsers:
    Brave Browser: 128.1.69.160
  npmPackages:
    svelte: ^5.1.11 => 5.1.11

Severity

annoyance

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions