ES6 fn syntax for actions like getters (question) #1477
-
ReproductionInstall @pinia/nuxt 0.2.0 together with pinia 2.0.15 Steps to reproduce the bugWould it be possible to support this syntax for actions? Expected behaviorshould still work Actual behaviornot working Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
LinusBorg
Jul 25, 2022
Replies: 1 comment 1 reply
-
That's technically impossible because you can't change what |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
stephenjason89
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's technically impossible because you can't change what
this
refers to in an arrow function.