DEV Community

Discussion on: Intro to Yew, a Rust Frontend Framework

Collapse
 
lukechu10 profile image
Luke Chu

Building in release and using link time optimization helps a lot with the bundle size. Brotli compression seems to also be very good at compressing the bundle size.
Honestly, I think there is a bit too much boiler-plate for Yew at the moment which is why I strongly prefer yew-function even though it is still wip and not released.

Collapse
 
kayis profile image
K

Any pointers to how to use the yew-function? :)

Collapse
 
lukechu10 profile image
Luke Chu

It's still not published on crates.io (I think it's for yew 0.19 but don't quote me on that). For now, just use a git dependency. This thread: github.com/yewstack/yew/issues/1026 has some pointers for getting started. :)