yew v0.13 Release Notes
Release Date: 2020-03-01 // about 4 years ago-
🌐
web-sys
support has arrived! [@daxpedda] spear-headed the effort and courageously integratedweb-sys
while maintaining support forstdweb
through no small amount ofcfg
macro usage. We chose to continue support for apps built withstdweb
because the dev experience is still quite a bit better (Unfortunatelycargo-web
is incompatible withweb-sys
). However, the Yew team recognizes that the future ofcargo-web
ofstdweb
are uncertain. For this reason, we recommend devs start making the switch over toweb-sys
andwasm-bindgen
. We will likely invest in improving the dev experience with these tools so that switching over is eventually a no-brainer. Please reach out with ideas and feedback for this migration through Github issues and in our Gitter chatroom!After upgrading to v0.13, devs will now have to opt in to either
stdweb
orweb-sys
by using either the"web_sys"
or"std_web"
on theyew
crate in theirCargo.toml
.