0 votes
in VueJS 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

+1 vote
asked Sep 27, 2022 in Kubernetes K8s by SakshiSharma
0 votes
asked Apr 13, 2021 in Redux by Robindeniel
...