Answer the question
In order to leave comments, you need to log in
Component first load event?
Good evening. I need to get data when the component is loaded, the component is a page, and when the user goes to it, I need to get the data, mounted is not suitable because it is called every time the page is navigated, and the data needs to be received once. Maybe for such cases there is an event or other ways to do it?
Answer the question
In order to leave comments, you need to log in
mounted is not suitable because it is called on every transition
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question