Re:TailwindCSS v2.0
by deergomoo on Wednesday November 18, 2020 @05:45PM
(#25143574)
You don’t need to be using a JS framework to have components. Pretty much any server-side templating language allows extracting “components” in the form of reusable HTML fragments. And even if you’re serving static HTML, there’s plenty of ways to compile a template into a static file.
[ Parent
| on HN ]
Re:TailwindCSS v2.0
by JxLS-cpgbe0 on Wednesday November 18, 2020 @06:51PM
(#25144312)
Right, components. Not a search-and-replace for every instance of ".color-pink" in your codebase, suggested by the parent.