28 ms·
Having done something similar before, 2 things really hard to get right: - animate position shift when the list is reordered. you can't rely on natural dom orde
by peppertree 4y ago
Having done something similar before, 2 things really hard to get right:
- animate position shift when the list is reordered. you can't rely on natural dom ordering to properly animate all items
- anything that has to do a tree structure
- jimmy2020 4y agoDFlex doesn't reorder the elements. 1- It transforms elements by calculating the new position so it can avoid any layout shift this is something essential in the transformation mechanism. 2- It reconciles the transformed element when needed. So instead of replacing the entire children, it replaces only the transformed ones.