Skip to content

Svelte 5: next.28 -> next.29 $state array bug #10120

Closed
@dm-de

Description

@dm-de

Describe the bug

something changed between next.28 -> next.29
$state is now defect

I found 2 issues:

  1. inserted objects to state array are not the same
    You can see this in example, because delete in setTimeout does not work

  2. after insertig some items and removing them all (click on toast to remove),
    here are some issues adding new items... they don't show up or they show up after many clicks.

Reproduction

next.28 working
next.29 not working

LINK

Logs

No response

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
    Memory: 9.19 GB / 15.96 GB
  Binaries:
    Node: 21.2.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (120.0.2210.121)
    Internet Explorer: 11.0.19041.3636
  npmPackages:
    svelte: ^5.0.0-next.29 => 5.0.0-next.29

Severity

annoyance

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions