Fix generational box in release mode

This commit is contained in:
Jonathan Kelley committed 2024-01-21 12:46:19 -08:00
1 parent 06d9b575b7
commit 028f499bf6
10 files changed
+182 -34

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ fn app() -> Element {
}
#[component]
fn Child(i: usize, counters: Signal<Vec<i32>>) -> Element {
fn Child(counters: Signal<Vec<i32>>, i: usize) -> Element {
rsx! {
li {
button { onclick: move |_| counters.write()[i] -= 1, "-1" }