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

[DataGrid] Remove rowHeight and headerHeight from state #7199

Merged

Conversation

DanailH
Copy link
Member

@DanailH DanailH commented Dec 14, 2022

Fixes #5620

@DanailH DanailH added breaking change component: data grid This is the name of the generic UI component, not the React module! labels Dec 14, 2022
@DanailH DanailH self-assigned this Dec 14, 2022
@mui-bot
Copy link

mui-bot commented Dec 14, 2022

Messages
📖 Netlify deploy preview: https://deploy-preview-7199--material-ui-x.netlify.app/

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 777.6 1,145.2 777.6 920.9 161.761
Sort 100k rows ms 782.2 1,293.3 1,273.9 1,132.84 184.489
Select 100k rows ms 236.7 354.8 277.5 282.66 44.428
Deselect 100k rows ms 230.2 307.4 280.8 268.68 32.055

Generated by 🚫 dangerJS against 1631064

Copy link
Member

@cherniavskii cherniavskii left a comment

Choose a reason for hiding this comment

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

Great work, I like PRs like this! 😀

Screenshot 2022-12-14 at 19 20 33

apiRef: React.MutableRefObject<GridApiCommunity>,
rowHeight: number,
) {
const densityFactor = gridDensityFactorSelector(apiRef);
Copy link
Member

@cherniavskii cherniavskii Dec 14, 2022

Choose a reason for hiding this comment

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

Consider passing densityFactor instead of apiRef?
Same as #7199 (comment)

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Dec 14, 2022
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

DanailH and others added 5 commits December 21, 2022 17:07
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Dec 22, 2022
…-v5.md

Co-authored-by: Andrew Cherniavskii <[email protected]>
Signed-off-by: Danail Hadjiatanasov <[email protected]>
@DanailH DanailH merged commit 8fd5dbd into mui:next Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] Remove headerHeight and rowHeight from state
4 participants