Layout Thrashing means: Forcing the browser to calculate a layout that is never rendered to the screen.
Normal Thrashing Situation
fastdom read and write applied
Normal Thrashing Situation
fastdom read and write applied
fastdom write only applied
# Questions and Thoughts?
* Put every DOM/CSSOM changing code into a `requestAnimationFrame`.
* Never put style/layout reading code into a `requestAnimationFrame`.
* Use helpers/ best practice patterns to write maintainable async code.
* Try to follow these rules but use your brain in the first place.
# Thank you!!!