docs
docs copied to clipboard
Composables async-state-example code block does not match playground's code
https://vuejs.org/guide/reusability/composables.html#async-state-example
near the bottom of this section, when discussing the watchEffect() / toValue() refactor, the copy reads:
Notice that toValue(url) is called inside the watchEffect callback. This ensures that any reactive dependencies accessed during the toValue() normalization are tracked by the watcher.
the code block above on this docs page does not match this. it appears to be referencing code that can be seen behind the updated version of useFetch() code link