react-toggle
react-toggle copied to clipboard
Use will-change CSS property
https://dev.opera.com/articles/css-will-change-property
I tested in all major browsers, including my best friend IE 11, and there doesn't seem to be any performance loss due to the animations. Everything moves quite nicely ;). According to MDN docs the will-change property should be used as a last resort to enhance performance. https://developer.mozilla.org/en-US/docs/Web/CSS/will-change With that said, has there been any reports of performance issues?