yew/examples/js_callback

(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/DenisKolodin/yew/issues/316 for discussion on what motivated this example.