πWhy TSS
makeStyles is dead. Long live makeStyles.
Last updated
makeStyles is dead. Long live makeStyles.
Last updated
'tss-react' is intended to advantageously replace the now deprecated @material-ui v4 makeStyles and react-jss by providing much better TypeScript support.
β Seamless integration with MUI and material-ui v4.
β
withStyles
API support.
β Server side rendering support (e.g: Next.js, Gatsby).
β
Offers a type-safe equivalent of the JSS $
syntax.
β
Custom @emotion
cache support.
β
Build on top of @emotion/react
, it has very little impact on the bundle size alongside MUI (~5kB minziped).
β Maintained for the foreseeable future, issues are dealt with within good delays.
β
As fast as emotion
(see the difference with MUI's makeStyles
)
β
Library authors: tss-react
wonβt be yet another entry in your peerDependencies
.