Created
June 13, 2022 09:51
-
-
Save 12cassie34/db3719a2740c4b41ca9b958f2474e7ef to your computer and use it in GitHub Desktop.
Vue Reactivity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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