Re:Web Components Eliminate JavaScript Framework Lock-In
by lioeters on Monday November 27, 2023 @04:42PM
(#38438809)
"Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout."
> What forces layout/reflow. The comprehensive list.
> All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
> What forces layout/reflow. The comprehensive list.
> All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
https://gist.github.com/paulirish/5d52fb081b3570c81e3a