Semantic-ui-react: Discussion about Styled Components

Created on 29 Mar 2017  路  1Comment  路  Source: Semantic-Org/Semantic-UI-React

Has anyone thought on how you could use this library with styled components?

The reasons one might want to do that are:

  • more modularity & faster compile time;
  • using semantic-ui css & a custom css layer on top to make your styles unique does not work because of webpack style order import bug;
  • using semantic-ui less has a huge compile time, 20s to compile all .less and around 10 second to compile a change when watching.

I'm thinking that one way you could use this library w/ styled components is to write, in your project, for each react semantic-ui components, a styled component on top, and use that in your project. Furthermore, maybe there should be a semantic-ui-css version written as styled components?

What do you think?

duplicate

Most helpful comment

Yep, duplicate #1009. Would love feedback there.

>All comments

Yep, duplicate #1009. Would love feedback there.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SajagTiwari picture SajagTiwari  路  3Comments

ryanpcmcquen picture ryanpcmcquen  路  3Comments

nolandg picture nolandg  路  3Comments

mattmacpherson picture mattmacpherson  路  3Comments

levithomason picture levithomason  路  3Comments