Skip to content

An API to allow replacing observer implementation with alternative implementation #8884

Open
@mitar

Description

@mitar

What problem does this feature solve?

This is a followup to #4652. For integration of Vue with existing Tracker-based Meteor apps, one approach how to assure fur compatibility is to implement Tracker on top of observer implementation. This has been proven to work great with 2.x version and it just needed a bit more access to Vue observer internals than what was already available.

I would suggest that in 3.x there is a simple way to register an alternative Vue observer implementation. In this way 3rd party libraries could extend new Vue observer implementation with additional things and then register it back for Vue to use it.

What does the proposed API look like?

It could be something as simple as Vue.useReactivity(module). It would be on module's author to assure that the alternative implementation is compatible and works well with Vue.

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