DEV Community

Cover image for 🧶 Implicit CLSX in React
All In Developer
All In Developer

Posted on Edited on Originally published at all1n.dev

🧶 Implicit CLSX in React

If you use Tailwind CSS with React, you probably import clsx or classnames into almost every component. Vue has class bindings built in, so why can’t React? With a bit of mischief, it can.


👉 Continue reading on my blog: 🧶 Implicit CLSX in React

Top comments (1)

Collapse
 
artu_hnrq profile image
Arthur Henrique •

I'm happy to discover fine tuning like these are actually quite easy to implement.
Build-in clsx would be awesome!