Open tinchodias opened 3 months ago
Related reading, in web/chrome:
-> A common performance issue in web apps is forced synchronous layout: reading the size of an element and forcing the browser to immediately and synchronously undergo layout and style calculations in order to figure out the size. (https://tigeroakes.com/posts/resize-observer-avoid-forced-sync-layout/)
-> "Avoid forced synchronous layouts": https://web.dev/articles/avoid-large-complex-layouts-and-layout-thrashing#avoid_forced_synchronous_layouts
This can happen when a script in a Workspace creates an element in a space, sends
show
it it, and immediately sendsinspect
to the element.The inspector preview tab for element defined in:
ends up executing this:
This can be seen in this example of Toplo: