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 Jul 9, 2019. It is now read-only.
@kylerc here's an idea for more dynamic styling. Need your comment on feasibility/perf (from what I understand it should be possible, with not-so-bad perf hit with debounce on updates)
Automagically updated on orientationChange and resize. Avoids media queries across the board for certain repetitive values (+ free consistency)
There's another way with a function which could theoretically improve performance by letting you know which components exactly use the adaptive values and only update their style. But its more verbose compared to the original method which doesn't require any change in style.js
@kylerc here's an idea for more dynamic styling. Need your comment on feasibility/perf (from what I understand it should be possible, with not-so-bad perf hit with debounce on updates)
theme.js:
SomeComponent/style.js
Automagically updated on
orientationChangeandresize. Avoids media queries across the board for certain repetitive values (+ free consistency)There's another way with a function which could theoretically improve performance by letting you know which components exactly use the adaptive values and only update their style. But its more verbose compared to the original method which doesn't require any change in style.js