What are reflows and repaints and how to avoid them

Its becom­ing increas­ingly com­mon for the topic of reflows and repaints to come up when talk­ing about improv­ing page per­for­mance. Although the two of them are closely related, they dif­fer in terms of the…