fyne-io / fyne-x

Community extensions to the cross platform GUI in Go based on Material Design
Other
254 stars 59 forks source link

Support webassembly for WebSocket data binding #32

Open Bluebugs opened 2 years ago

Bluebugs commented 2 years ago

The gorilla websocket library does not support webassembly. It would be nice to use https://github.com/nhooyr/websocket to have support for it. It would require test to make sure it also work with gopherjs, if it doesn't a follow up story should be created and some logic could be added to switch between libraries depending on the platform.

Bluebugs commented 2 years ago

After investigating more, we should drop gorilla as it is just unmaintained for almost 4 years and they have not figure out a replacement. The above one seems in a better position (considering client API only).