[Vuejs]-Is there any way to don't perform any action on Vuex until state is ready

0👍

It seems to be enough to call the api in the created lifecycle and define the parameters necessary for calling the api in the component created lifecycle.

When the api call is completed by adding a loading component, it would be neat to remove the loading component and render the data.

Leave a comment