You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in leptos Issue 3509, the let attribute of a <For> component can be destructured with the let(/* pattern */) syntax, however leptosfmt completely removes this.
i.e.
<For
each=move || list.get()
key=|Item{ name, .. }| name.clone()let(Item{ name, value })// this will be stripped
>
is formatted to
<For
each=move || list.get()
key=|Item{ name, .. }| name.clone()
let // destructured pattern is stripped
>
The text was updated successfully, but these errors were encountered:
As mentioned in
leptos
Issue 3509, thelet
attribute of a<For>
component can be destructured with thelet(/* pattern */)
syntax, howeverleptosfmt
completely removes this.i.e.
is formatted to
The text was updated successfully, but these errors were encountered: