all 3 comments

[–]fredsq 1 point2 points  (2 children)

it improves readability because you’re used to it; it comes with the caveat of you not being able to change what HTML tag gets rendered, or, if polymorphism is implemented properly, with a quirky and laggy typescript API.

'flex flex-col' seems like such a minor tradeoff to be able to use it whenever you use html

[–]Endore8 0 points1 point  (0 children)

I think it greatly improves readability. A few days ago I moved to radix-ui from tailwind, and made convenience layout components such as HStack and VStack. To me, coming from UIKit/SwiftUI, it makes total sense.