DEV Community

Discussion on: CSS-in-JS - styled vs css prop

Collapse
 
luisvieira_gmr profile image
luis vieira • Edited

I usually prefer the css prop as you don’t need to be constantly creating and naming variables everytime you want to style an html element. Also last time i checked there seems to be better compatibility with accessibility tooling like axe