|
|
|
|
|
by MarquesMa
1477 days ago
|
|
> and then scatter that all over your markup This is not how you use Tailwind. Back then there was no such concept as component, so people need to write CSS classes to encapsulate and reuse styles. Now Components are everywhere, and when you write components and CSS classes at the same time, you're non-obviously duplicating structures (Write components, then write classes corresponding that component). In essence, Tailwind (or styled components and such) makes component mechanic as your single source of abstraction. |
|