💽Emotion Cache
How to integrate emotion cache with TSS
Using the provider
import { CacheProvider } from "@emotion/react";
import createCache from "@emotion/cache";
const cache = createCache({
"key": "custom"
});
render(
<CacheProvider value={cache}>
{/* ... */}
</CacheProvider>
);Use a specific provider
Specify the cache at inception
Last updated
Was this helpful?
