Re:Dioxus 0.5: Web, Desktop, Mobile Apps in Rust
by nirvdrum on Thursday March 28, 2024 @05:30PM
(#39857557)
Does anyone know how well this integrates with web components? I struggled getting Shoelace components to run well with Yew. It was doable, but by the time I had it working I decided I was using the wrong tool for the job. I'd like to revisit that project with another Rust framework though when I can find the time.
[ Parent
| on HN ]
Re:Dioxus 0.5: Web, Desktop, Mobile Apps in Rust
by Evan-Almloff on Thursday March 28, 2024 @05:51PM
(#39857785)
We have a web components example here: https://github.com/DioxusLabs/dioxus/blob/fd21c971038840130f...
Everything should work like normal except: attributes are not typed, custom event listeners must be implemented with web-sys
Re:Dioxus 0.5: Web, Desktop, Mobile Apps in Rust
by nirvdrum on Thursday March 28, 2024 @06:47PM
(#39858337)
Oh, that’s great. I suppose it’d be nice if I could supply my own types, but strings aren’t the end of the world. Thank you for pointing me at that example.
Also, thank you for linking to a particular commit. I wish GitHub would do that by default. The web is littered with GitHub links that either no longer work or highlight incorrect lines.