yangxiuxiu fbc0c42bcf fix(reactivity): ensure watcher with once: true are properly removed from effect scope (#11665) hai 1 ano
..
__benchmarks__ 70196a40cc perf(reactivity): optimize array tracking (#9511) %!s(int64=2) %!d(string=hai) anos
__tests__ 205e5b5e27 feat(reactivity): base `watch`, `getCurrentWatcher`, and `onWatcherCleanup` (#9927) hai 1 ano
src fbc0c42bcf fix(reactivity): ensure watcher with once: true are properly removed from effect scope (#11665) hai 1 ano
LICENSE 34989ef7fe chore: license %!s(int64=6) %!d(string=hai) anos
README.md 2f9f6eceb9 chore: delete outdated content in readme (#8093) [ci skip] %!s(int64=3) %!d(string=hai) anos
index.js a83ee65e30 fix: fix reactivity cjs entry %!s(int64=6) %!d(string=hai) anos
package.json 8c3fdd1a7d release: v3.5.0-beta.3 hai 1 ano

README.md

@vue/reactivity

Usage Note

This package is inlined into Global & Browser ESM builds of user-facing renderers (e.g. @vue/runtime-dom), but also published as a package that can be used standalone. The standalone build should not be used alongside a pre-bundled build of a user-facing renderer, as they will have different internal storage for reactivity connections. A user-facing renderer should re-export all APIs from this package.

For full exposed APIs, see src/index.ts.

Credits

The implementation of this module is inspired by the following prior art in the JavaScript ecosystem:

Caveats

  • Built-in objects are not observed except for Array, Map, WeakMap, Set and WeakSet.