๐ฆPublish a module that uses TSS
How to express you dependencies requirements
package.json
Your users install your module like that:
The version of @mui/material
must be newer or equal to 5.9.3
Regarding SSR setup you can forward your user to the dedicated MUI documentation.
In any case, it is of paramount importance that your library supports CSJ and ESM distribution. Please refer to the following discussion for precise instructions and a comprehensive explanation of why this is crucial.
Wherever you make use of nested selectors you must provide a uniqId
to make sure your components will works in every SSR setup.
You should avoid using <TssCacheProvider />
or you should make tss-react
as peerDependency of your module which you probably want to avoid.
Last updated