Synphonyte / leptos-use

Collection of essential Leptos utilities inspired by React-Use / VueUse
https://leptos-use.rs/
Apache License 2.0
328 stars 72 forks source link

bugfix: error when cleanup happens after reconnect attempt is on timeout #160

Closed BakerNet closed 2 months ago

BakerNet commented 2 months ago

Console error:

panicked at /.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/leptos-use-0.12.0/src/use_websocket.rs:314:68:
could not get stored value

Note: I tested this as working when cherry-picked into v0.12.0, but trying to compile my project with main branch fails so this hasn't been able to be testing on main.

maccesch commented 2 months ago

You have to update your codee dependency to 0.2 when you use main

maccesch commented 2 months ago

Thanks a lot!