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
Conceptually, if you render [foo, bar] and then re-render [bar, foo], neither of those elements should be disconnected at all. However, because low-level DOM apis will cause a disconnect followed by a connect — there’s no great way to perform this shuffle without causing at least one disconnection.
Conceptually, if you render
[foo, bar]
and then re-render[bar, foo]
, neither of those elements should be disconnected at all. However, because low-level DOM apis will cause adisconnect
followed by aconnect
— there’s no great way to perform this shuffle without causing at least one disconnection.A new API is being proposed called
moveBefore
— whatwg/dom#1307. And, Chrome has begun implementing it — https://chromestatus.com/feature/5135990159835136. This should directly address the shuffle-disconnect issue.The text was updated successfully, but these errors were encountered: