mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* 0.20 Changelog * Improve changelog generator * Add blog post * Add blog post * Apply suggestions from code review Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com> Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com> * update Changelog * update Cargo.toml * changelog gen compiles * website version 0.20 * add migration guides * prettier * i18n Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com> Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>
12 lines
333 B
Plaintext
12 lines
333 B
Plaintext
---
|
|
title: 'Communication between components'
|
|
---
|
|
|
|
## Parent to child messaging
|
|
|
|
Pass data as [props](./properties) that cause a rerender, 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)
|