vue3-yuanma/packages/reactivity
2019-08-13 11:13:26 -04:00
..
__tests__ refactor: adjust reactivity structure 2019-06-12 00:03:50 +08:00
src wip: handle value -> value assignment in reactive object 2019-08-13 11:13:26 -04:00
.npmignore refactor: rename reactivity package name and APIs 2019-06-11 23:50:28 +08:00
index.js refactor: rename reactivity package name and APIs 2019-06-11 23:50:28 +08:00
package.json refactor: rename reactivity package name and APIs 2019-06-11 23:50:28 +08:00
README.md refactor: rename reactivity package name and APIs 2019-06-11 23:50:28 +08:00

@vue/observer

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.

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 Map, WeakMap, Set and WeakSet.