What's the best way to handle styles/CSS? #13413
Unanswered
wilsongomes-swe
asked this question in
Help
Replies: 2 comments
-
You should use the built-in support via |
Beta Was this translation helpful? Give feedback.
0 replies
-
CSS modules are the most performant, but not necessarily the best for readability. My personal preference is the It looks like this: <MyComponent
css={css`
color: yellow;
background: blue;
`}
/> This way you can see each component's styles easily. You can use a custom https://github.com/zeit/next.js/blob/canary/examples/with-styled-components/.babelrc |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys!
We're migrationg our web app to Next, in our current app we uso a lot of SCSS... What is the best way to handle styles on Next.js?
Can we use SCSS without any performance threats? Is this ok, or you consider a bad practice?
Thanks so much!!
Beta Was this translation helpful? Give feedback.
All reactions