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

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.