Jan 16, 2021
It's about the fact that getting those dimensions is stressful for the browser. It needs to - internally - calculate all positions of all DOM elements before it yields back a response.
Caching stops it from having to do any work at all.
It's about the fact that getting those dimensions is stressful for the browser. It needs to - internally - calculate all positions of all DOM elements before it yields back a response.
Caching stops it from having to do any work at all.
Front-end ReactJS Developer — https://aggelos.dev