joshwcomeau / react-flip-move

Effortless animation between DOM changes (eg. list reordering) using the FLIP technique.
http://joshwcomeau.github.io/react-flip-move/examples
MIT License
4.09k stars 258 forks source link

Doesn't work w/ React 16 due to PropTypes #189

Closed iEchoic closed 7 years ago

iEchoic commented 7 years ago

See: https://github.com/joshwcomeau/react-flip-move/issues/138

This is now causing react-flip-move to break with React 16.

Hypnosphi commented 7 years ago

Which version of react-flip-move do you use and how exactly the error looks like in your case?

joshwcomeau commented 7 years ago

@iEchoic I don't believe Flip Move uses PropTypes anymore! We moved to Flow a little bit ago.

I've been using it with React 16 as well, and it's worked perfectly for me (although I do need to update peer deps).

Gonna close the issue, since it's been a day since @Hypnosphi's response and I don't want folks to think it doesn't work. Please do follow up if upgrading to the latest version of Flip Move doesn't fix the issue though!