Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

Source

Source • Docs