Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option to disable xstyled cache #379

Merged

Conversation

mleralec
Copy link
Contributor

Summary

Following this issue #371, we need to have an option to disable xstyled cache.
It's already present in styled-system api and can be useful for many reasons.

Test plan

Just add the disableXstyledCache key on your theme and set the value to true :

const theme = {
  ...defaultTheme,
  disableXstyledCache: true,
}

@gregberge gregberge force-pushed the feat-disable-cache-option branch from 08a3171 to 780548f Compare October 5, 2022 06:48
@gregberge gregberge force-pushed the feat-disable-cache-option branch from 780548f to b884cd6 Compare October 5, 2022 13:21
@gregberge gregberge merged commit 738f882 into styled-components:main Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants