leptos-use 0.16.3

Collection of essential Leptos utilities inspired by React-Use / VueUse / SolidJS-USE
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(unused_macros, unused_imports)]

macro_rules! js_value_from_to_string {
    ($name:ident) => {
        impl From<$name> for JsValue {
            fn from(value: $name) -> Self {
                JsValue::from(&value.to_string())
            }
        }
    };
}

pub(crate) use js_value_from_to_string;