Closed imerkle closed 7 years ago
You use index as key, so FlipMove
thinks that all the children stay on their position (item with key 0
is still the first, 1
is the second etc.). Try using something other as a key, e.g. name
field: https://www.webpackbin.com/bins/-KtsMYuzFa9E_3xIG5LW
See gotchas section: https://github.com/joshwcomeau/react-flip-move#gotchas
https://www.webpackbin.com/bins/-KtqTYBCgNDqG0bDeDNA
Did a quickstart from Readme. doesnt works atall