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

[core] Clean up grid column #2343

Merged
merged 2 commits into from
Aug 21, 2021

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Aug 14, 2021

I have tried to simplify the logic of this hook. It's mostly about renaming the variable to minimize the number of different terms we use. I have also skipped a few branches that seem to be unreachable.

I did this while I was looking into #2344

Closes #2333

@oliviertassinari oliviertassinari added core Infrastructure work going on behind the scenes component: data grid This is the name of the generic UI component, not the React module! labels Aug 14, 2021
@oliviertassinari oliviertassinari merged commit badc3bd into mui:master Aug 21, 2021
@oliviertassinari oliviertassinari deleted the column-cleanup branch August 21, 2021 15:24
@flaviendelangle
Copy link
Member

I think we should stop using the term hydrate for columns processings
As Sebastian told, we are using it in a very different way as React which is confusing.

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Aug 23, 2021

Happy to use a different terminology. I was using it coming from an backend perspective, for instance https://stackoverflow.com/questions/6991135/what-does-it-mean-to-hydrate-an-object (in my case it was from a python library not a Java one but it's the same concern I believe).

Do you have an alternative in mind?

@Mike-Loffland
Copy link

When is this slated for release?

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Aug 24, 2021

Today or tomorrow

@chriszrc
Copy link

This was merged into 4.0.0, and fixed the problem, huzzah!

https://github.com/mui-org/material-ui-x/blob/next/CHANGELOG.md#400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: "n" is read-only
5 participants