Skip to content

Derived store comparison logic differs from others #2644

@Rich-Harris

Description

@Rich-Harris

REPL. Normally with stores we use conservative comparison logic — if a value is a non-primitive, then set or update is considered to have changed the value even if it has referential equality.

That's not the case with derived stores. This causes surprising behaviour when you're reusing objects, as is common in WebGL programming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions