yew/examples/dyn_create_destroy_apps
WorldSEnder daf6ec0152
Reduce size of examples (#2601)
* Reduce size of examples with this one weird trick

* oops, fixup function_router
2022-04-11 17:02:59 +05:00
..
src `#[cfg(feature = "render")]` and `yew::Renderer` (#2498) 2022-03-20 00:48:47 +09:00
Cargo.toml `#[cfg(feature = "render")]` and `yew::Renderer` (#2498) 2022-03-20 00:48:47 +09:00
README.md Change the app struct to be a real handle to an Yew app instance and make it possible to destroy a running app (#1825) 2021-05-17 13:43:06 +02:00
index.html Reduce size of examples (#2601) 2022-04-11 17:02:59 +05:00
index.scss Change the app struct to be a real handle to an Yew app instance and make it possible to destroy a running app (#1825) 2021-05-17 13:43:06 +02:00

README.md

Dynamic app creation and destruction example

An example of how to create and destroy Yew apps on demand.

Running

Run a debug version of this application:

trunk serve

Run a release version of this application:

trunk serve --release

Concepts

Demonstrates the use of the Yew app handle by dynamically creating and destroying apps.