
When it comes to React, following are some of the ways of styling in React.
Inline CSS
Normal CSS
CSS In JS libraries like styled-components
CSS ...
For further actions, you may consider blocking this person and/or reporting abuse
Most of the time I had problems with global class name collisions. This is fantastic. Thanks!
Yes, that happens a lot of times. That's where CSS modules come in handy. 👍
Thanks .... working on a project and I had naming conflicts. This is really helpful.
Glad you found it helpful
I've been using CSS modules and love it! Don't have to worry about name class clashing
That's great to hear 👍
Insightful article! I'll use this in my next project.
Thank you. You can also check out this website for your reference which I have created using Next.js with CSS Modules for styling.
Using CSS modules makes managing CSS so easy that's why it's preferred in Next.js and Gatsby.js
It's very nice! I follow you regularly on LinkedIn. Your posts are very informative and they help me out quite a lot!
Thank you 🙂 I'm glad you're finding my posts valuable
Awesome! never thought we could do this way with CSS in React. I'm still new to this library.
Glad you found it useful 🙂
Nice article, but would also have liked to see the cons of css modules in it.
nice one !