yew/examples/js_callback
Justin Starry 6ba83fc061
Update min rust version to 1.39.0 (#730)
* Update min rustc to 1.39.0

* Bump wasm-bindgen to 0.2.54

* always install wasm-bindgen-cli
2019-11-10 20:19:34 -05:00
..
2019-02-16 10:32:57 +03:00
2019-09-01 00:02:24 +09:00

(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.