use_to_string
Reactive ToString::to_string()
.
Usage
use leptos::prelude::*;
use leptos_use::use_to_string;
#[component]
fn Demo() -> impl IntoView {
let (number, set_number) = signal(3.14_f64);
let str = use_to_string::<_, f64>(number);
view! { }
}
Feature
This function is only available if the crate feature
use_to_string
is enabled