Answer the question
In order to leave comments, you need to log in
Get immutable data from vuex to render in component?
good afternoon!
such a question: I get one value from vuex.store, which is rendered in two different components,
but I need to make it so that when the lower number changes when it is increased / decreased using the controller,
and the upper one remains the same and does not re-render?
I get the value using the getter, and calculate the computed methods
Answer the question
In order to leave comments, you need to log in
<span v-once>{{ data }}</span>
When data changes, the initial value will be displayed .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question