Muhammad Hamza 5e823e729d
Prepare for 0.21 release (#3412)
* Update CHANGELOG

Changelog run: https://github.com/yewstack/yew/actions/runs/6283917852/job/17064800916

* docusaurus docs:version 0.21

* migration guide

* blog post

* prettier

* make website warnings go away

* make GA work

* Apply suggestions from code review

* Apply suggestion from review

Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>

* prettier

---------

Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
2023-09-29 19:10:07 +09: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)