Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're passing it to child components you pass it through attributes. If you're passing up to parents, however, you have to create a function on the parent that will get called to accept the child's new data. This can get really messy if you have deeply nested components and need to get data from one branch to another branch.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: