Replies: 2 comments 3 replies
-
maybe set params via state? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Unfortunately, such getters cannot be cached and are the same as actions. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, getters are only computed properties with very limited used in real world applications and if you need to pass parameters, things getting very complicated compared to standard JS objects and functions. Example:
Using getters with parameters in Vue methods is even more complicated:
Instead, using getters with parameters should be as easy as using actions:
Beta Was this translation helpful? Give feedback.
All reactions