Re:Goodbye CSS Modules, Hello TailwindCSS
by 01brett on Thursday November 04, 2021 @10:06PM
(#29114684)
Author here, I am using React. What I've done for "it shares some styles but not others" is create a
and in my component combine the shared with the unique attributes
or using a string combiner utility like classNames/clsx
If you have a props to change on, you can do this
[ Parent
| on HN ]
There are no comments on this comment yet.