3 ms·
if the styles only concern the context you work on, this could easily be done with vanilla scoped inline styles If those declarations are relevant to multiple
by krsdcbl 2y ago
if the styles only concern the context you work on, this could easily be done with vanilla scoped inline styles
If those declarations are relevant to multiple components within your codebase, then you'll still need to leave the context when your styles are inlined and therefore declared in multiple places
- aidos 2y agoNo. That’s the point of tailwind. You can include things like hover states. Inline css hits a roadblock there and you’re forced to go out to a style tag. Then you have to start naming things. Then you risk conflicts. That’s the problem tailwind solves.