You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys,
Thanks for creating this awesome library. It solve many styling issues for devs. I just have some thoughts on library and would like to hear your opinion about these issue.
As I understand, Tailwindjs try to solve reusability problem in css styling by avoiding semantic classes. However, in result, we loss the meaning of each html code in the component. I think that we can improve understanding of the html element by adding meaningless attribute like role="LeftHeader" . Extracting components might work but we have to "leave" our current HTML code.
Writing a long list of classes make line length high. I think object like format is cleaner to read.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
Thanks for creating this awesome library. It solve many styling issues for devs. I just have some thoughts on library and would like to hear your opinion about these issue.
role="LeftHeader"
. Extracting components might work but we have to "leave" our current HTML code.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions