Adam Wathan@adamwathan.com30 Nov 2024Little Tailwind tip β instead of trying merge classes and manage conflicts with `!important`, style things based on data or ARIA attributes and just handle everything declaratively with CSS:912174
Martin Palma@der.computer30 Nov 2024What about handling the state using the "data-..." attribute? Or is there an advantage of using ARIA attributes?11
Anirudh@aniforprez.dev30 Nov 2024He does say "data or ARIA attributes". ARIA is more for accessibility so I don't put state there.21
Martin Palma@der.computerSorry, I skimmed through it to fast... π30/11/24, 4:08 pmΒ·0 repostsΒ·1 like