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: Migrating Grid.js to getDerivedStateFromProps #1053

Merged
merged 18 commits into from
May 6, 2018
Merged

feat: Migrating Grid.js to getDerivedStateFromProps #1053

merged 18 commits into from
May 6, 2018

Conversation

wuweiweiwu
Copy link
Collaborator

@wuweiweiwu wuweiweiwu commented Mar 15, 2018

@azmenak
Copy link

azmenak commented Apr 26, 2018

Any plans on merging this so we can unblock #1040 #1072 and #1028?

@wuweiweiwu
Copy link
Collaborator Author

@azmenak there is currently 1 test is failing that I will be taking another look at this weekend. Hopefully soon!

@TrySound TrySound self-requested a review April 28, 2018 09:35
}

// Update scroll offsets if the size or number of cells have changed, invalidating the previous value
// Update getters. this is a little hacky
// TODO: move the configure?
Copy link
Collaborator

Choose a reason for hiding this comment

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

how about this todo?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed! :)

@wuweiweiwu wuweiweiwu requested a review from bvaughn May 2, 2018 00:51
@bvaughn bvaughn self-assigned this May 5, 2018
Copy link
Owner

@bvaughn bvaughn left a comment

Choose a reason for hiding this comment

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

Tests pass on 16.2 and 16.3

I don't have time/energy to do a super in-depth code at the moment, but at a glance this looks reasonable and since tests pass- let's roll with it.

@bvaughn bvaughn merged commit 319ad45 into bvaughn:master May 6, 2018
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

4 participants