Johannes Sjölund 9556266061
Improve grammar in website/docs (#3092)
* Improve grammar in website/docs

* Futuresolo's changes to website/docs
2023-02-01 22:21:31 +05:00

12 lines
334 B
Plaintext

---
title: 'Communication between components'
---
## Parent to child messaging
Pass data as [props](./properties) that cause a re-render, this is the way to pass messages to children.
## Child to parent messaging
Pass down a callback via props, that the child on an event can call. [Example](callbacks#passing-callbacks-as-props)