Skip to content

Commit

Permalink
docs: update warning version (#2000)
Browse files Browse the repository at this point in the history
Co-authored-by: caimengyong <caimengyong@baidu.com>
Co-authored-by: Alan Wang <948467222@qq.com>
  • Loading branch information
3 people authored Jun 17, 2021
1 parent 7151622 commit 8f66c8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/getters.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Vuex allows us to define "getters" in the store. You can think of them as comput
As of Vue 3.0, the getter's result is **not cached** as the computed property does. This is a known issue that requires Vue 3.1 to be released. You can learn more at [PR #1878](https://github.com/vuejs/vuex/pull/1883).
:::

::: warning WARNING
As of Vue 3.0, the getter's result is **not cached** as the computed property does. This is a known issue that requires Vue 3.2 to be released. You can learn more at [PR #1883](https://github.com/vuejs/vuex/pull/1883).
:::

Getters will receive the state as their 1st argument:

``` js
Expand Down

0 comments on commit 8f66c8b

Please sign in to comment.