Skip to content

observe subclass of Map/Set/WeakMap/WeakSet #1489

@tarnishablec

Description

@tarnishablec

What problem does this feature solve?

reactive() can not observe instance from subclass of Map/Set....

What does the proposed API look like?

class SomeMap extends Map{};
const raw= new SomeMap();
const map = reactive(raw);

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