▼ Show 1 Answer

0 votes

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.

Vue JS
Learn More with Madanswer

Related questions

0 votes
asked Jul 27, 2020 in Big Data | Hadoop by Hodge