Layout (list)
<For> list with add / remove / shuffle. Survivors animate to new slots via parent-MutationObserver triggers; inserted items baseline.
Reorder / insert / delete. Each <motion.li layout> measures its parent-relative position before and after the list mutation, then FLIPs into its new slot. Inserted items just appear at their final position (baseline pass).
- first #1
- second #2
- third #3