Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Probably false positive effect_update_depth_exceeded error when reading derived firstly at effect #16423

Open
@TUTOR03

Description

@TUTOR03

Describe the bug

In reproduce I am rendering 1000+ elements in each block. Each element has state that never changes and derived dependent on this state. Dervied firstly read inside $effect. Then there is more than 1000 elemtns the effect_update_depth_exceeded error is fired. But in fact there should not be any loops in effects

Reproduction

The reproduction is presented herehttps://svelte.dev/playground/d9c15933109c478181c3a00854397dec?version=5.36.6

Firstly test it with 1000 elements by clicking the show button - there will be no error
Increase number of elemetns to 1001 and do the same again - the error will appear
Uncomment reading canPlay derived in Component.svelte to calculate it before effect - there will be no error

Logs

System Info

System:    OS: macOS 15.5    CPU: (12) arm64 Apple M4 Pro    Memory: 65.36 MB / 24.00 GB    Shell: 5.9 - /bin/zsh  Binaries:    Node: 22.17.0 -~/.nvm/versions/node/v22.17.0/bin/node    Yarn: 1.22.22 -~/.nvm/versions/node/v22.17.0/bin/yarn    npm: 10.9.2 -~/.nvm/versions/node/v22.17.0/bin/npm    pnpm: 10.12.3 - /opt/homebrew/bin/pnpm  Browsers:    Chrome: 138.0.7204.158    Safari: 18.5  npmPackages:    svelte: ^5.36.6 => 5.36.6

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp