I suggest you to read this (<a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;31638988&#x2F;2304450" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;31638988&#x2F;2304450</a>) very good stack overflow answer, you&#x27;ll find some interesting introduction to inline styles if that&#x27;s what you were looking for.<p>A different approach could be to pass a `classScope` string props down to the components, and each component then applies it to the classes it uses (Example: return (&lt;div className={this.props.classScope + &quot;inner-div&quot;}&gt;&lt;&#x2F;div&gt;); ). This way we could achieve better css selector scoping, at a cost of a slightly more verbose code when using a component.