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

Remove ThemedStyleSheet global cache export #135

Merged
merged 1 commit into from
Apr 3, 2018

Conversation

majapw
Copy link
Collaborator

@majapw majapw commented Apr 3, 2018

After hunting down the original reason for this addition, it looks like it was to prevent clobbering already registered themes/interfaces/styles cache in the case of contextual theming. With that removed, this is probably no longer necessary.

to: @airbnb/webinfra @lencioni @noratarano @ljharb

Instead export the set of methods normally.
flush,
}),
);
export default {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated: at some point we should maybe transition to named exports

@majapw majapw merged commit 67b7a7a into master Apr 3, 2018
@majapw majapw deleted the maja-remove-ThemedStyleSheet-caching branch April 3, 2018 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants