daiwei 81615d398a release: v3.5.31 4 тижнів тому
..
__benchmarks__ e9f3e6b546 workflow: bench against bundled dist file to avoid import access overhead 1 рік тому
__tests__ 1bb28d011b fix(reactivity): normalize toRef property keys before dep lookup + improve types (#14625) 4 тижнів тому
src 3b561db4ab fix(types): prevent shallowReactive marker from leaking into value unions (#14493) 4 тижнів тому
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 81615d398a release: v3.5.31 4 тижнів тому

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.