afaik yew is dead. The last release was 2 years ago.
Rust
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Yew is dead. Maybe try out dioxus? Its my preferred tool.
It looks cool, thanks!
We use Leptos at $DAYJOB for a web-UI of medium complexity. Debugging is mainly a matter of println
-debugging, to be honest. Well, with log statements. We use tracing-web
for logging to the browser console (if you're using log
rather than tracing
, you can do the same with console_log
). And then console_error_panic_hook
to make panics visible in the browser console.
None of this is particularly great. Sometimes you get a stacktrace and no chance to try to debug it, because it happens in compiled WebAssembly. Sometimes you run into reactivity issues, which you just have to try to reproduce and narrow down why it happens.
You do gain experience over time and can spot issues more quickly or code it correctly upfront. And well, I've never seen a frontend framework, which was immediately intuitive in its reactivity or similar. Humans are just a messy interface.
Yeah, not sure what else to add. The upgrade to Leptos 0.7 was definitely a challenge, but we managed to push through, although I would not have wanted to do that without some of the experiences I've made with personal projects.
Feel free to ask questions, if you want to know anything more concrete.
Even 2 years ago, yew was way way worse than actually writing js by hand.