chenglou / react-motion

A spring that solves your animation problems.
MIT License
21.68k stars 1.16k forks source link

Does this library provide 60fps web UI on mobile? (more of a question/discussion than a issue) #331

Open jasan-s opened 8 years ago

jasan-s commented 8 years ago

I have been actively looking for a animation pattern to get silky smooth user interfaces on mobile with React web apps. I just found out about progressive Web apps as well (very excited), Does this library take advantage of promoting elements(will change property) , and transform & opacity changes?

chenglou commented 8 years ago

The library doesn't do anything special regarding will-change, transform and the rest. If you specify it on your inline style then it works as intended. Once we specialize for DOM we might as well go all the way and do imperative DOM manipulations to update stuff (not being sarcastic). Right now I suggest you try it on your components to see the perf.