This commit is contained in:
Maccesch 2024-03-05 20:45:33 +00:00
parent e9da41b6be
commit fdb0ac856b
6 changed files with 12 additions and 6 deletions

View file

@ -3,7 +3,7 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] -
## [0.10.4] - 2024-03-05
### New Functions 🚀

View file

@ -1,6 +1,6 @@
[package]
name = "leptos-use"
version = "0.10.3"
version = "0.10.4"
edition = "2021"
authors = ["Marc-Stefan Cassola"]
categories = ["gui", "web-programming"]

View file

@ -13,7 +13,7 @@
<a href="https://crates.io/crates/leptos-use"><img src="https://img.shields.io/crates/v/leptos-use.svg?label=&color=%232C1275" alt="Crates.io"/></a>
<a href="https://leptos-use.rs/server_side_rendering.html"><img src="https://img.shields.io/badge/-SSR-%236a214b" alt="SSR"></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-docs%20%26%20demos-%239A233F" alt="Docs & Demos"></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-75%20functions-%23EF3939" alt="75 Functions" /></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-76%20functions-%23EF3939" alt="76 Functions" /></a>
</p>
<br/>

View file

@ -12,6 +12,6 @@
<a href="https://crates.io/crates/leptos-use"><img src="https://img.shields.io/crates/v/leptos-use.svg?label=&color=%232C1275" alt="Crates.io"/></a>
<a href="https://leptos-use.rs/server_side_rendering.html"><img src="https://img.shields.io/badge/-SSR-%236a214b" alt="SSR"></a>
<a href="./get_started.html"><img src="https://img.shields.io/badge/-docs%20%26%20demos-%239A233F" alt="Docs & Demos"></a>
<a href="./functions.html"><img src="https://img.shields.io/badge/-75%20functions-%23EF3939" alt="75 Functions" /></a>
<a href="./functions.html"><img src="https://img.shields.io/badge/-76%20functions-%23EF3939" alt="76 Functions" /></a>
</p>
</div>

View file

@ -24,7 +24,6 @@ mod is_none;
mod is_ok;
mod is_some;
mod on_click_outside;
mod use_event_source;
mod signal_debounced;
mod signal_throttled;
mod use_active_element;
@ -47,6 +46,7 @@ mod use_element_hover;
mod use_element_size;
mod use_element_visibility;
mod use_event_listener;
mod use_event_source;
mod use_favicon;
mod use_geolocation;
mod use_idle;
@ -88,7 +88,6 @@ pub use is_none::*;
pub use is_ok::*;
pub use is_some::*;
pub use on_click_outside::*;
pub use use_event_source::*;
pub use signal_debounced::*;
pub use signal_throttled::*;
pub use use_active_element::*;
@ -111,6 +110,7 @@ pub use use_element_hover::*;
pub use use_element_size::*;
pub use use_element_visibility::*;
pub use use_event_listener::*;
pub use use_event_source::*;
pub use use_favicon::*;
pub use use_geolocation::*;
pub use use_idle::*;

View file

@ -232,7 +232,13 @@ where
Duration::from_millis(reconnect_interval),
);
} else {
#[cfg(debug_assertions)]
let prev = SpecialNonReactiveZone::enter();
on_failed();
#[cfg(debug_assertions)]
SpecialNonReactiveZone::exit(prev);
}
}
}