CSS-in-JS Support?
See original GitHub issueA ton of people like CSS-in-JS and I think we should add support for it. We have to figure out how we will do it. I see 2 options:
- Write our own using SWC macros once released #78
- Add support for something like
styled-components
, though we would have to write our own SSR compiler thing
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:10 (6 by maintainers)
Top Results From Across the Web
cssinjs/jss: JSS is an authoring tool for CSS which ... - GitHub
A lib for generating Style Sheets with JavaScript. For documentation see our docs. Community. Join our Discord; Use Discussions to discuss ideas or...
Read more >CSS-in-JS (@cssinjs) / Twitter
@cssinjs. Updates on CSS-in-JS tech. We Love CSS! Managed by ... Style editing for CSS-in-CSS • Lighthouse 6 • Support for new JavaScript...
Read more >@mxenabled/cssinjs - npm
Start using @mxenabled/cssinjs in your project by running `npm i ... process once all our frontend projects no longer need to support IE11....
Read more >A Thorough Analysis of CSS-in-JS
If we need to support vanilla JavaScript code or frameworks other than React, the decision is simple: we should choose a framework-agnostic ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
0.3 will support inline css like:
@thegaryroberts Thanks for sharing how you do it, I think Emotions React pkg has out of the box support with
renderToString
and other React SSR stuff. We should probably add support for/** @jsx */
, though it is also possible to just calljsx
because it is compatible withReact.createElement
.