Answer the question
In order to leave comments, you need to log in
Is it bad practice to use styled-components and css modules in the same project in React?
Good evening, if I style components using styled-components, and for example, I need to use css classes in one of the components (for example, for a dropdown menu, so that the class is added on click), will this not be an unnecessary complication of the project?
Answer the question
In order to leave comments, you need to log in
Nothing terrible will happen, but the whole styled-components thing hints that it is better to implement using props
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question