You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2021. It is now read-only.
* make statement more clearly
It seems like the latter sentence has nothing to do with the previous sentence, thus they probably shouldn't be in the same paragraph.
* sync with English version
Copy file name to clipboardExpand all lines: api.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -392,7 +392,9 @@ watchEffect(onInvalidate => {
392
392
})
393
393
```
394
394
395
-
Weareregisteringtheinvalidationcallbackviaapassed-infunction instead of returning it from the callback (likeReact`useEffect`) because the return value is important for async error handling. It is very common for the effect function to be an async function when performing data fetching:
395
+
Weareregisteringtheinvalidationcallbackviaapassed-infunction instead of returning it from the callback (likeReact`useEffect`) because the return value is important for async error handling.
396
+
397
+
Itisverycommonfortheeffectfunction to be an async function when performing data fetching:
0 commit comments