Re:TailwindCSS v2.0
by joshmanders on Wednesday November 18, 2020 @04:57PM
(#25142966)
Then you extract components. https://tailwindcss.com/docs/extracting-components
[ Parent
| on HN ]
Re:TailwindCSS v2.0
by JxLS-cpgbe0 on Wednesday November 18, 2020 @06:48PM
(#25144284)
> Create a template partial or JavaScript component
The parent comment was specifically about not using components.
But you use your Bootstrap/Tailwind utility classes in JSX. Now your styling is tightly-coupled to your component again. Isn't that just CSS-in-JS with more steps and less power?