I am writing a web application using ReactJS, and I need to customize IE9 and below tags to exclude class usage. In particular, my client has a user control <select>that they want to use, and on their main website (which does not use React) they use conditional comments for the target IE9 so as not to apply custom styles <select>. The problem is that with ReactJS, there is no way to make conditional comments on IE . I did a bit of google-foo, and the best solution I can find is to embed the HTML directly in the DOM, rather than letting React handle the render .
<div>
<select className = "customSelect">
</select>
</div>
Is there a way to emulate this only in CSS, or has anyone heard of a reaction plugin that would allow me to do IE conditional checks?
jsFiddle for example here
source
share