paint-brush
What Is the Difference Between the Created and Mounted in Vue?by@smpnjn
709 reads
709 reads

What Is the Difference Between the Created and Mounted in Vue?

by Johnny Simpson3mMay 15th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Both created() and mounted() have access to the data and props on your prototype. created() is great for calling APIs, while mounted() is great for doing anything after the DOM elements have been completely loaded.
featured image - What Is the Difference Between the Created and Mounted in Vue?
Johnny Simpson HackerNoon profile picture
Johnny Simpson

Johnny Simpson

@smpnjn

Product, Engineering, Web

About @smpnjn
LEARN MORE ABOUT @SMPNJN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Johnny Simpson HackerNoon profile picture
Johnny Simpson@smpnjn
Product, Engineering, Web

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite