Skip to content

🐛 Bug Report: Computed Property Not Updating on Reactive Array Mutation #5

@AchrafELGhazi

Description

@AchrafELGhazi

Description
When using a computed property based on a reactive array, mutating the array with .splice() doesn't seem to trigger a re-computation, leading to stale values in the template.

Expected Behavior
The computed property should automatically update when the underlying reactive array is mutated (e.g., with .splice() or direct index mutation), and the DOM should reflect this change.

Actual Behavior
Even after calling .splice() on the reactive array, the computed property is not re-evaluated and the template does not update unless a workaround (like reassigning the array) is used.

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