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

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.