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

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.