Publish a module that uses TSS
How to express you dependencies requirements
Last updated
Was this helpful?
How to express you dependencies requirements
Last updated
Was this helpful?
package.json
Your users install your module like that:
Regarding SSR setup you can forward your user to the dedicated .
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.
You should avoid using <TssCacheProvider />
or you should make tss-react
as peerDependency of your module which you probably want to avoid.
Regarding SSR setup you can forward your user to .
Wherever you make use of you must to make sure your components will works in every SSR setup.