Back to Yew

Grandchild-with-Grandparent Example

examples/communication_grandchild_with_grandparent/README.md

0.18.0359 B
Original Source

Grandchild-with-Grandparent Example

A simple example of updating a grandparent component from two grandchildren using a callback passed down using the context API. The grandchildren themselves also update whenever the grandparent updates the shared state.

Running

Run this application with the trunk development server:

bash
trunk serve --open