leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
63 stars 58 forks source link

Small issue, I think #50

Closed christhirst closed 6 months ago

christhirst commented 6 months ago

Site; https://book.leptos.dev/view/04b_iteration.html At: Option 3: Memoized Slices data.with(|data| data.get(index).map(|d| d.value).unwrap_or(0)) does not work, data.get(index).map(|d| d.value).unwrap_or(create_rw_signal(0)) works

christhirst commented 6 months ago

My bad