diff --git a/docs/guide/caveats.md b/docs/guide/caveats.md index 6b26be3..6687988 100644 --- a/docs/guide/caveats.md +++ b/docs/guide/caveats.md @@ -64,7 +64,7 @@ export default class Posts extends Vue { } ``` -The above code intends to fetch post list on component initialization but the fetch will be called twice unexpectedly because of how Vue Class Component works. +The above code intends to fetch post list on component initialization but the fetch will be called once unexpectedly because of how Vue Class Component works. It is recommended to write lifecycle hooks such as `created` instead of `constructor`: @@ -85,4 +85,4 @@ export default class Posts extends Vue { }) } } -``` \ No newline at end of file +```