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

[Inspector/DataViewComponent] does not work with React 16.4+ #25088

Closed
spalger opened this issue Nov 2, 2018 · 1 comment
Closed

[Inspector/DataViewComponent] does not work with React 16.4+ #25088

spalger opened this issue Nov 2, 2018 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Inspector Inspector infrastructure and implementations Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@spalger
Copy link
Contributor

spalger commented Nov 2, 2018

When upgrading to the latest version of React the inspector's DataViewComponent breaks because the getDerivedStateFromProps() method overrides state.tabularPromise each time it is updated in finishLoadingData().

tabularPromise: nextProps.adapters.data.getTabular(),

@spalger spalger added bug Fixes for quality problems that affect the customer experience Feature:Inspector Inspector infrastructure and implementations Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Nov 2, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Inspector Inspector infrastructure and implementations Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants