in Vue.JS by

1 Answer

0 votes
by

While this depends on the purpose of the component and it’s usage, the created lifecycle hook is generally ideal for placing an API call. At this point, the component’s data and reactivity features are available to operate, however, the component has not rendered yet.

Related questions

0 votes
asked Sep 27 in Kubernetes K8s by SakshiSharma
0 votes
asked Feb 28 in API Gateways by DavidAnderson
0 votes
asked Jan 9, 2020 in Vue.JS by GeorgeBell
...