tjdevries / subd

subd - a place to reward your subscribers from any platform
50 stars 7 forks source link

run `yew` from within the `chat` application? #18

Open tjdevries opened 2 years ago

tjdevries commented 2 years ago

Can we run them from the same process? Can we start up something like axum or some other http server and use that in combination with wasmpack?

https://yew.rs/docs/getting-started/project-setup/using-wasm-pack

cc @davidbegin since that could make running the application a lot easier (and I wonder if we could reduce serialization because they could pass directly between the process, rather than serializing)

davidbegin commented 1 year ago

I'm cool running them separate for now, but I also am so ignorant I don't feel confident making calls to combine.

...maybe after week 2 of Rust and writing more than 1 line of Yew :sunglasses: