Skip to content

Expose a query as an updating array #5

Open
@mitar

Description

@mitar

Instead of exposing it is a a cursor, we could expose results from an query as an array which gets updated using its native methods (which Vue overrides). This might be better than current approach where we expose it as a cursor and patch Vue to support iteration over it. Not sure though how much does Vue do with patching native methods: do they just trigger reactive invalidation or does it also take into the account what exactly changed in an array and optimize based on that?

Code here is doing such changes.

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