Cache

Customizing the cache behaviour of xstyled.

Turn off cache

By default xstyled cache every property resolution. If you need to disabled the cache behaviour, you can do it in the theme.

export const theme = { xstyled: { cache: false, }, }
Edit this page on GitHub