React – how to use pseudo-selectors with Radium

Image source: Tranmautritam/ @tranmautritam on Pexels

If you’re a fan of using inline styling and you find it difficult to deal with things like pseudo-selectors or media queries in React, one of the solutions for you could be Radium.

As specified on their website, Radium is a set of tools that help you manage inline styles on React elements. There are some features which this type of styling has issues accommodating (modifiers, pseudo selectors or media queries) and Radium is here to fix just that. Let’s see some code to understand how it’s used:

Read more