Skip to content

list is not reactive, but list.length is #12439

Closed
@ottomated

Description

@ottomated

Describe the bug

The example in the $effect.pre docs describes referencing a list to trigger an $effect. However, you need to reference list.length instead.

Reproduction

REPL

Logs

No response

System Info

n/a

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions