Closed christhirst closed 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
My bad
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