|
|
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 年之前 |
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.
The implementation of this module is inspired by the following prior art in the JavaScript ecosystem:
Array, Map, WeakMap, Set and WeakSet.