Skip to content
loading...

re: Hands-on Vue.js for Beginners (Part 7) VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thank you Marina for your tutorial. As a beginner, it has helped me get the grasp on Vue.js. Also, I tried out this bit and it worked just fine wi...
 

Hi James, thanks for your words. In components, you MUST use the function return syntax, else the state is going to get SHARED by all your components. If this is your MAIN component, App.vue, you can get away with using this syntax because you can guarantee there will only be one.

 

You're very much welcome Marina, and thank you for clarifying this.

code of conduct - report abuse