Skip to content

CherniyFY/vuejs-child-to-parent-communication

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuejs-child-to-parent-communication

WARNING: This is an example of a working bad pattern!

Note that objects and arrays in JavaScript are passed by reference, so if the prop is an array or object, mutating the object or array itself inside the child component will affect parent state. Source

Sample of child to parent communication via mutable object in vuejs

npm run build

Open dist/index.html

About

Sample of child to parent communication via mutable object in vuejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%