Hacker News new | past | comments | ask | show | jobs | submit login

I did a `dx build --release --platform web` of their default client-only web template and the resulting `du -sh dist/` is 2.1M. The .wasm file is 1.9M.

I'm guessing there is no way that's getting smaller?

I have some projects in the 1kb to 100kb territory I wouldn't mind rewriting, but not to that size.




We have a guide about optimizing that it looks like we just haven't propagated into the template.

You can get hello world to sub 50kb. Our todomvc in the docs gets to 234kb.

Also note that wasm starts really really quickly, so it's not 1:1 JS<->WASM.

https://dioxuslabs.com/learn/0.5/cookbook/optimizing




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: