You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Has anyone thought on how you could use this library with styled components?
The reasons one might want to do that are:
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?
The text was updated successfully, but these errors were encountered: