docs: fix typo (#3842)

This commit is contained in:
yyyanghj 2022-03-23 02:20:22 +08:00 committed by GitHub
parent 7c0d2e176c
commit 8bb02be218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ const {
* _server_: whether to fetch the data on server-side (defaults to `true`)
* _transform_: a function that can be used to alter `handler` function result after resolving
* _pick_: only pick specified keys in this array from `handler` function result
* _watch_: watch reactive sources to auto refrash
* _watch_: watch reactive sources to auto refresh
Under the hood, `lazy: false` uses `<Suspense>` to block the loading of the route before the data has been fetched. Consider using `lazy: true` and implementing a loading state instead for a snappier user experience.