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
Hi,
I am trying to dispatch some move patches on a list to avoid re-rendering the whole list like when using the DefineList sort method. The idea would be to only rearrange the DOM elements.
It works fine with the move patch except that the binding gets lost at some point.
Hi,
I am trying to dispatch some move patches on a list to avoid re-rendering the whole list like when using the DefineList sort method. The idea would be to only rearrange the DOM elements.
It works fine with the move patch except that the binding gets lost at some point.
Here is an example:
https://codepen.io/Mamuuut/pen/JjYJyqr?editors=1111
It only happens when using the setTimout adding new elements just after dispatching the moves works.
Am I doing something wrong? Is there a simple way to rearrange DOM elements without re-rendering everything?
The text was updated successfully, but these errors were encountered: