Why fastdom?
Author: oskarroughCreated Oct 18, 2013Updated Oct 6, 2020
Fastdom sounds so efficient that I need to ask what the possible downsides are. Why is this not the default behaviour implemented in modern browsers?
you should wrap any DOM reads with fastdom.read and writes with fastdom.write. They will get batched & executed in next frame...
Source: wilsonpage/fastdom