FormidableLabs/radium

Radium seems to slow down framerates

Aperta

#389 aperta il 20 ott 2015

 (7 commenti) (0 reazioni) (0 assegnatari)JavaScript (352 fork)batch import
docshelp wanted

Metriche repository

Star
 (7414 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Hi , i have made a simple test with react motion.

As soon as i add the @Radium decorator it slows down quite a lot. The difference isn't really noticable on desktop, but on a mobile device it is a big difference.

please see the tests here : https://github.com/Aaike/react-motion-radium-test There are links to 2 tests. The only difference in the 2 demos is the addition of the @Radium decorator.

Please look at those tests with a chrome browser on a mobile device.

Do you have any suggestions to avoid this drop in performance ?

Guida contributor