security-union / yew-websocket

Yew Rust / Wasm for using WebSockets
MIT License
19 stars 3 forks source link

Example not working since v1.0.1 #10

Closed TheJKM closed 1 year ago

TheJKM commented 1 year ago

Due to removal of macros, the example is unable to compile with latest version v1.0.1. Would be cool if you could update the example to be compatible with the latest version.

darioalessandro commented 1 year ago

roger that, I am on it.

darioalessandro commented 1 year ago

It is done 😄 thank you for bringing this to my attention.

barafael commented 1 year ago

Is including the macro from pre-1.0 the way to go here also for our own projects?

darioalessandro commented 1 year ago

You can do that or use: https://github.com/security-union/videocall-rs/blob/b578878b3967a20d9f9fe1e959664c42b2f75b45/yew-ui/src/components/attendants.rs#L304-L320 makes sense @barafael ?

barafael commented 1 year ago

Sure, thanks!