0

Is there a way to Separate external style sheets in React

i have 2 external style sheets in my react project and it seems that one of them is overriding the other which is massing up with my styles. question: is there a way we can separate the 2, like import styles like modules in certain components only not the global or a way to deal with it ? Does webpack have a loader to maybe separate the 2.

10th Jul 2018, 6:06 AM
jay
2 Answers
+ 3
Yes there is. Make an external Javascript, set the stylesheet there and export the module.
10th Jul 2018, 8:18 AM
CalviŐ˛
CalviŐ˛ - avatar
0
CalviŐ˛ im not following, could u elaborate more?
10th Jul 2018, 5:07 PM
jay