mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-02-02 10:54:15 -05:00
parent
37f16ad37b
commit
c6005079e1
2 changed files with 2 additions and 1 deletions
|
@ -70,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- Fixed auto-reconnect in `use_websocket`
|
- Fixed auto-reconnect in `use_websocket`
|
||||||
- Fixed typo in compiler error messages in `use_cookie` (thanks to @SleeplessOne1917).
|
- Fixed typo in compiler error messages in `use_cookie` (thanks to @SleeplessOne1917).
|
||||||
|
- Fixed potential signal out of scope issue with `use_raf_fn`
|
||||||
|
|
||||||
## [0.10.10] - 2024-05-10
|
## [0.10.10] - 2024-05-10
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ pub fn use_raf_fn_with_options(
|
||||||
let previous_frame_timestamp = Cell::new(0.0_f64);
|
let previous_frame_timestamp = Cell::new(0.0_f64);
|
||||||
|
|
||||||
move |timestamp: f64| {
|
move |timestamp: f64| {
|
||||||
if !is_active.get_untracked() {
|
if !is_active.try_get_untracked().unwrap_or_default() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue