by danfritz · 2y ago · 0 comments
After reading the excellent article it hit me, I'm already doing the exact same :facepalm:
<Box mr="4" border="1px solid #ee"... />
There is really no difference, instead of a string with classes I have a bunch of props. Time to look at tailwind again...
It's just easier to do fast proto-typing with various Tailwind classes, and then refactor common sets of HTML tags with tailwind classes, they become reusable React (or Svelte) components.