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.
Run this application with the trunk development server:
trunk serve --open