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

Upgrade to React 16.3 and convert EuiBasicTable's lifecycle #849

Merged
merged 3 commits into from
May 18, 2018

Conversation

chandlerprall
Copy link
Contributor

As part of #763, updates EUI to React 16.3 and converts EuiBasicTable's lifecycle from componentWillReceiveProps to getDerivedStateFromProps. The table component's itemId instance method was not accessible from the static lifecycle method and was refactored into a stand-alone function.

Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

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

🌻 This is sick! Great work, LGTM.

@chandlerprall
Copy link
Contributor Author

jenkins test this

@chandlerprall chandlerprall merged commit ae71b41 into elastic:master May 18, 2018
@chandlerprall chandlerprall deleted the react-16-3-basic-table branch May 18, 2018 19:08
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.

None yet

2 participants