Ive mostly been using the makeStyles hook to style my material-ui components. It's fairly straightforward and modular and performant.
Material-UI v5 has the new sx prop that seems fairly promising, but towards the bottom of their docs there, they mention that there is a performance tradeoff.
My question is what's the ultimate difference here between makeStyles and sx, and should I consider switching?
I feel like I should also point out that using the sx prop seems to bulk up the return section of the code and using makeStyles just feels cleaner.
Am I missing something here or is there something revolutionary about sx, that should make me want to use it?