News for hackers. Stuff that matters.
Re:Don't use Tailwind for your Design System by digitalsankhara on Wednesday January 11, 2023 @08:54AM (#34338442)
If I were to look at your code (or revisiting my own after some time) I'd know what <SideBarItem /> was likely for straight away. But I would need to construct the likely intent of the <div> version in my mind. Of course you could abstract those classes into one that provides semantics;

<div class="side-bar-item"></div>

Re:Don't use Tailwind for your Design System by Jenk on Wednesday January 11, 2023 @09:02AM (#34338539)
I meant SideBarItem's implementation is the tailwind div, but is referenced as SideBarItem like any other React component, not that the tailwind div is pasted all over. :)
Re:Don't use Tailwind for your Design System by digitalsankhara on Wednesday January 11, 2023 @12:20PM (#34341142)
Ha! Understood now.