Adrian Kaczmarek
Aug 8, 2017 · 1 min read

Don’t forget about magic 60fps — none of mentioned techniques guarantee it.

I have my own simplest implementation:

  • use ref to get real DOM element
  • overwrite componentDidUpdate where u perform all animations
  • use FLIP to provide 60fps
  • for reusability u should write it as high order component

And that’s all, no third part libraries :)

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade