One of my React components displays the following element:
<div dangerouslySetInnerHTML={{__html: this.props.htmlString}}/>
While the html renders correctly, I am facing a challenge with my client-side CSS code affecting the component I am rendering from this.props.htmlString
. Is there a way to isolate this component from the client CSS code to prevent interference?