Re:Tailwind: A Utility-First CSS Framework
by cramer_corey on Thursday September 27, 2018 @12:03PM
(#18085758)
In my (limited) experience when I'm repeating the same set of classes over and over again I extract to a named component; You shouldn't have 700 identical buttons that all specify the classes that compose their look. 5-7 times = a use pattern and time to extract it.
[ Parent
| on HN ]
There are no comments on this comment yet.