Skip to content

Is there some sort of documentation for @vue/reactivity? #10449

Discussion options

You must be logged in to vote

There are no real end-use docs for this package, really. It's not purposely designed to be used as a drop-in reactivity library, though developers interested in building on top of it can do that. most pieces of the library are essentially documented in the Vue docs - effect() as a central piece is the notable exception.

You can learn how schedulers work by looking at the implementation in runtime-core, yet the reactivity package is usable without a scheduler as well - in that case, effect() (which are the basic version of watchEffect()) just run synchronously, much like watchEffect would with flush: 'sync'

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@earslap
Comment options

@Shyam-Chen
Comment options

Comment options

You must be logged in to vote
1 reply
@earslap
Comment options

Answer selected by earslap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants