Signal repeat.for to update array

In aurelia 1 i was able to just update the array that i had repeat.for on and the DOM would reflect the changes. Now in aurelia 2 it seems like the array is changing without the DOM reflecting these changes. I tried using “& signal” on the repeat.for, this did not work and i also tried doing array.slice() to see if that would trigger rebinding / updating DOM. Please help. thank you.

Could you create a small reproduction of your problem on dumber gist?

It should work, like you can see here:

1 Like

You know what i figured it out, it was because i was using lodash to remove things from the array. I switched to using Array.splice and it started working. maybe lodash reinitializes the array. Thank you so much.