in action, update state values, but subscribe is just run once #1421
-
ReproductionSteps to reproduce the bugExpected behaviorActual behaviorAdditional informationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jul 3, 2022
Replies: 2 comments 2 replies
-
What is the configuration of flush, what does it mean, I solved my problem with flush |
Beta Was this translation helpful? Give feedback.
0 replies
-
You didn't say what you were expecting and what to do. The action is called before the subscribe so it makes sense to not trigger the subscribe. About flush: https://vuejs.org/guide/essentials/watchers.html#callback-flush-timing |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You didn't say what you were expecting and what to do. The action is called before the subscribe so it makes sense to not trigger the subscribe.
About flush: https://vuejs.org/guide/essentials/watchers.html#callback-flush-timing