yew
yew copied to clipboard
Embedding other wasm applications?
Is it possible to embed other wasm applications (e.g. games like this) within a yew app (without iframe) so that they render into a designated sub dom node?
I was actually just thinking about this, and it should be possible with #203.
You would have to set up a "Service" or some-such to handle the callbacks -- but otherwise it should be possible to shim in another app.
I'm also interested in Yew having support for something like nested and dynamic loading/mounting of disparate Yew apps. Does an example exist demonstrating the current best-practice for doing so?