wilsonpage / fastdom

Eliminates layout thrashing by batching DOM measurement and mutation tasks
6.85k stars 240 forks source link

[Question] using fastDom with something like tween.js together? #64

Closed thednp closed 9 years ago

thednp commented 9 years ago

I am asking, I don't know, is it possible to make the two work together somehow?

I ask because both use rAF to get to set some properties' values and while tween.js executes pretty damn fast, still 60 fps is hard to reach for many elements, and this is due to the fact that style recalculation and tree update takes most of the time within the 16ms timeframe, something fastDom can fit in quite great.

Thanks for any answer.