-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add css-in-js strategy #19
Comments
i vote for styled-components, what do you guys think? |
why? |
Styled components provide a clean way to work with css-in-js on react components:
|
and the others libraries, tools? we need a strategy and analysis thinking in the raw and your use case, not a list of advantages of a library. |
From what i read so far:
We also have glamorous which is very much like styled-components (also inspired in), rocks all the columns in that table and at this point they made css in js autocomplete, which i find really helpful for less docs reading and fast coding when using our repo, what do you guys think? Also, we have a big guy in this project. |
the syntax and usage is very different between styled-components/styled-jsx and glamour. |
@jhserodio why different usage? |
syntax is different, glamor is how to react css in js, others like css. The use is different in principles, with glamor you create styles with various syntax if you use external codes. analyze these topics:
We can not choose something now that ends up being discontinued, causing a major impact on all development, to be honest, the closer to native technology, the easier it is to deal with future changes. |
I'm on glamorous now because we can work with existing css easily, then we can extend from libs that aren't react specific, like material.io. |
What are you reporting?
What is the current behavior?
We need to analyze and discuss which package the project needs to add support to css-in-js
What is the expected behavior?
Have a mature lib to apply css-in-js better than react's defaults way to implement
Which problem(s) will it solve?
Styling inside React Components
Which versions of React and TypeScript are you using?
--
What is your environment?
The text was updated successfully, but these errors were encountered: