Skip to content

v0.1.2 is not compatible with zero 0.17 #48

@arv

Description

@arv

Zero 0.17 introduced a refCountMap parameter to applyChange.

However, I was not aware that Vue wrapped the data in Proxy objects. Therefore the refCountMap is not working as expected.

I've change Zero to not use a WeakMap and instead add the ref count to the actual entries. Once that is released zero-vue should work like it did in v0.1.1.

For now there are 3 options:

  • Change the peer dependency version to not support zero 0.17
  • Do what Solid did and a custom RefCountMap that unwraps the proxies.
  • Wait until next zero release

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions