yew/examples/js_callback
Justin Starry fa8a1d9f00
Reorganize examples and general repo layout (#1092)
* Reorganize crates

* Remove symlink

* Check examples

* Cleanup CI scripts

* nits

* cleanup

* cargo fmt

* Fix yew-stdweb

* cargo clippy --all

* stdweb-examples

* run_emscripten_checks.sh

* Fix typo

* fix typo

* yew-stdweb

* Run tests from yew-stdweb

* fix webgl script
2020-04-20 22:22:24 +08: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.