I don't see the problem this is trying to solve.
What happened to using just CSS and JS separately? This (and many 'CSS in JS' solutions like it) seems to me like premature optimisation.
What happened to using just CSS and JS separately? This (and many 'CSS in JS' solutions like it) seems to me like premature optimisation.