wobsoriano/svelte-sonner

Uncaught Error: ERR_SVELTE_TOO_MANY_UPDATES

Closed this issue · 1 comments

Describe the bug

When using svelte-sonner my application gets into an infinite loop. I am using svelte-5, but i'm not sure this should be causing this issue.

CleanShot 2024-04-28 at 12 58 26@2x

CleanShot 2024-04-28 at 13 01 26@2x

Reproduction

Currently i'm literally just calling this. If I remove this line I don't get the above error in the console at all.

toast.success('Your password has been updated!');

Logs

No response

System Info

System:
    OS: macOS 14.2.1
    CPU: (12) arm64 Apple M2 Max
    Memory: 145.94 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.6.1 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 10.2.4 - /usr/local/bin/npm
  Browsers:
    Brave Browser: 124.1.65.114
    Chrome: 124.0.6367.92
    Safari: 17.2.1
  npmPackages:
    @sveltejs/kit: 2.5.5 => 2.5.5 
    svelte: ^5.0.0-next.55 => 5.0.0-next.55 
    svelte-sonner: ^0.3.22 => 0.3.22

Severity

blocking an upgrade

Related to #38