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.
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. :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
Any pointers to how to use the yew-function? :)
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. :)