Skip to content

Latest commit

 

History

History
 
 

communication_grandchild_with_grandparent

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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:

trunk serve --open