x-for behavior #546
marcomilone
started this conversation in
4. General
Replies: 1 comment 6 replies
-
Hi @marcomilone, Using native array methods can be unreliable due to the reactivity core used in Alpine. Instead of calling
Since this is explicitly re-assigning the value of |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Really sorry to make dummy questions (I've searched issues before making it btw).
In case I modify array
items
on the fly... eg:items.push("new_item_live");
should a new div pop up at the end of the div list?
Thanks for the clarification... In my mind that was clearly bound to
items
changes, but in my application doesn't behave as I expected.Beta Was this translation helpful? Give feedback.
All reactions