3 ms·
Note: The library rebass uses, styled-components, doesn't use inline styles. It takes your styling and injects it as an actual style.sheet with automatically ge
by mxstbr 9y ago
Note: The library rebass uses, styled-components, doesn't use inline styles. It takes your styling and injects it as an actual style.sheet with automatically generated class names! This means you have the full power of CSS at your fingertips without having to resort to component state for e.g. hover.
See this article for more information about the difference: mxstbr.blog/2016/11/inline-styles-vs-css-in-js/