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

Combine with kibana#163137 #24

Merged

Conversation

clintandrewhall
Copy link

This is a commit which combines elastic#163103 with elastic#163137.

@cee-chen feel free to merge this to your PR, or chat with me more tomorrow? Thanks!

...props
}) => {
return (
<i18n.Context>
<KibanaThemeProvider {...props}>
<EuiErrorBoundary>{children}</EuiErrorBoundary>
Copy link
Owner

Choose a reason for hiding this comment

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

Does the lost <EuiErrorBoundary> matter here at all? No worries if not, just thought I'd check!

<EuiErrorBoundary>{children}</EuiErrorBoundary>
</KibanaThemeProvider>
</i18n.Context>
<KibanaRootContextProvider globalStyles={false} {...props}>
Copy link
Owner

Choose a reason for hiding this comment

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

Love this DRYness! I was going to ask you earlier if you thought it would be weird to have the RenderContext reuse the RootContext - glad to know I wasn't totally crazy 😆

Copy link
Owner

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

I definitely think this covers the best of both worlds for 8.10 at least 🎉 Thanks for the awesome fixes Clint!

@cee-chen cee-chen merged commit b8a710f into cee-chen:cache-50-bandaid Aug 4, 2023
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.

2 participants