sycamore-rs / sycamore

A library for creating reactive web apps in Rust and WebAssembly
https://sycamore-rs.netlify.app
MIT License
2.79k stars 148 forks source link

Websocket example #670

Open UnlimitedCookies opened 5 months ago

UnlimitedCookies commented 5 months ago

I suspect this is not yet implemented in sycamore, but an example might be quite useful.

lukechu10 commented 5 months ago

This would be pretty simple just using gloo-net but it might be good to have an example here. Another place this could go would be the https://github.com/lukechu10/sycamore-hooks although I haven't had time to work on that crate in a while.