Hello friends coder,
understanding the basics of VueX, I had a technical question.
I’m currently setting up my store, which will centralize some information that I retrieve via my API.
The goal is to request my API only once, as soon as my site is launched, and then I will come and retrieve the necessary information in each component.
Currently, my components will call the mutations / actions with their created method.
But if I change page (so component), these requests are made again, which is clearly not optimized.
Would you have a solution to make these requests only once ?
Thanks to you !