yew/examples/std_web/js_callback/README.md

309 B

(Asynchronous) callback from Javascript

The purpose of this example is to demonstrate a simple case of asynchronously sending a message back into the component update loop.

See https://github.com/yewstack/yew/issues/316 for discussion on what motivated this example.