You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
fix(server): disable breakpoints correctly and avoid style overuse
This problem is two-fold. First, on the server, when we deactivated
breakpoints, we were deactivating them in the wrong order. This
meant that after a breakpoint was activated, its styles would
linger, polluting the correct state of the style map.
The second problem was overpopulation of styles. Essentially,
we would provide a fallback style for every single breakpoint
if available. This is redundant, because we already populate a
global activation state at the beginning of style population.
To resolve these issues, we ensure that we deactivate breakpoints
correctly, and we also disable fallback styles on the server after
the initial population is complete.
0 commit comments