Why css styles leaks (gets inherited by other components) out of the component when they use the same class names in react.js?

后端 未结 0 639
自闭症患者
自闭症患者 2020-12-04 04:06

I have created two separate components in my \'create react app\'. For each component, I have a dedicated style sheet. If I use the same classNames inside both components th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题