Skip to Content

Vuejs - Great time to make AJAX call

Posted on

We can see in lifecycle hook:

Source: https://vuejs.org/v2/guide/instance.html

As we can see in this image, created hook is a great time to fire an AJAX call, so it has some time to load, before the component is visible to the user (in mount step)

comments powered by Disqus