Closed krozycki closed 4 years ago
Calling window.getComputedStyles(this) is expensive (~80ms) and is done in attached() now, which impact page load time (rendering).
Instead we could calculate it when it is accessed for the first time.
Calling window.getComputedStyles(this) is expensive (~80ms) and is done in attached() now, which impact page load time (rendering).
Instead we could calculate it when it is accessed for the first time.