|
|
|
|
|
by danfritz
775 days ago
|
|
I'm a long time material ui user and always disliked the tailwind approach of slapping classnames in a long string. 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.