jetli / rust-yew-realworld-example-app

Exemplary real world app built with Rust + Yew + WebAssembly, by Function Components + Hooks, also supports desktop by Tauri.
https://jetli.github.io/rust-yew-realworld-example-app/
Apache License 2.0
855 stars 110 forks source link

You may want to use gloo-net instead of reqwest #45

Open aclueless opened 1 year ago

aclueless commented 1 year ago

Hi, I also have a realworld implementation, but using a different frontend framework. I copied services and types from your implementation. So, I'd like to say "thank you" to you because I reuse your code in mine.

After all, I'd like to have a discussion about gloo-net and reqwest. Have you ever heard of gloo-net? I do an experiment with it and the .wasm binary using gloo-net is about 300 kb smaller than using reqwest.

If you want to have a look at my experiments, here is my implementation.

Thank you again for the code that I reuse!

jetli commented 1 year ago

Since yew supports SSR now , and gloo-net only supports csr, so reqwest might be easy to support ssr later.