Question · Vue.js course · Module 4: Computed & Watch
oldValue in watchEffect
Does watchEffect provide access to the previous value (oldValue)?
Answer options
- Yes, as the second callback parameter
- Yes, through a special option
- No, watchEffect does not provide oldValue
- Only in deep mode
You can check the correct answer by solving this task in the CodeWorlds game.