Skip to content

Instantly share code, notes, and snippets.

@stolinski
Last active July 11, 2017 23:58
Show Gist options
  • Save stolinski/17e35692db8ea989bd85b5e66d11addb to your computer and use it in GitHub Desktop.
Save stolinski/17e35692db8ea989bd85b5e66d11addb to your computer and use it in GitHub Desktop.
Thoughts On Styled Components

Pro

  • Clean syntax. is better than
  • Fast
  • React-like mindeset when styling, not every react component needs to be more than just styles.

Cons

  • 1 more thing to organize in JS
  • Additional syntax / typing from css
  • Best practices on a large scale not obvious
  • Larger conditionals for styles
  • Missing Preprossessor features
  • Flash of unstyled content?

Thoughts

I need to use them more on much larger projects to see how the system scales. I miss features from Stylus :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment