This problem has been troubled for a long time, thank you very much to solve it!😊
Flipboard: 60fps on the mobile web
This is really interesting and awesome. React is awesome, and this is awesome for React.
The following is an except from the above article:
The DOM is too slow.
It’s not just slow, it’s really slow. If you touch the DOM in any way during an animation you’ve already blown through your 16ms frame budget.
Most modern mobile devices have hardware-accelerated canvas, so why couldn’t we take advantage of this? HTML5 games certainly do. But could we really develop an application user interface in canvas?