Replacing React code with CSS :has selector

September 10, 2024

The web platform continues to evolve, and often new aspects of the platform obviate the need for established more heavyweight solutions. Here Nadia Makarevich looks at the :has selector and how it can be used where once we’d need to use JavaScript or React.