Skip to content

Instantly share code, notes, and snippets.

@12cassie34
Created June 13, 2022 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 12cassie34/db3719a2740c4b41ca9b958f2474e7ef to your computer and use it in GitHub Desktop.
Save 12cassie34/db3719a2740c4b41ca9b958f2474e7ef to your computer and use it in GitHub Desktop.
Vue Reactivity
let A = 1
let B = 2
let C
function update() {
C = A + B
}
whenDepsChange(update)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment