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

0 votes
asked Mar 2, 2020 in ReactJS by RShastri
0 votes
asked Jun 13, 2022 in BlockChain by Robindeniel
...