πWhy TSS
makeStyles is dead. Long live makeStyles.
'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'smakeStyles
)β Library authors:
tss-react
wonβt be yet another entry in yourpeerDependencies
.
Last updated