Skip to content

Remove the getters caching warning #2216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove the getters caching warning (ja version)
  • Loading branch information
dukkee authored Mar 17, 2023
commit 963297e5bb3c39fa44b5b5fa4dbef6c2ed2f3ecf
4 changes: 0 additions & 4 deletions docs/ja/guide/getters.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ computed: {

Vuex を利用するとストア内に "ゲッター" を定義することができます。それらをストアの算出プロパティと考えることができます。

::: warning 警告
Vue 3.0 では、ゲッターの結果は算出プロパティのように**キャッシュされません**。これは既知の問題で、Vue 3.2 がリリースされる必要があります。詳細は [PR #1878](https://github.com/vuejs/vuex/pull/1883) をご確認ください。
:::

ゲッターは第1引数として、state を受け取ります:

``` js
Expand Down