Vast majority of calls don't need them, but end up incurring the cost for the checks anyways. Ergonomics of doing className={useStyles() + useMediaQueryStyles() + usePseudoClassStyles()} isn't all that worse compared to nesting in the same object.
Can probably beat emotion and styled components once we do this.
Vast majority of calls don't need them, but end up incurring the cost for the checks anyways. Ergonomics of doing
className={useStyles() + useMediaQueryStyles() + usePseudoClassStyles()}
isn't all that worse compared to nesting in the same object.Can probably beat emotion and styled components once we do this.