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] Refactor: simplify useGridApiEventHandler #16479

Merged
merged 6 commits into from
Feb 6, 2025

Conversation

romgrk
Copy link
Contributor

@romgrk romgrk commented Feb 5, 2025

A few perf & refactoring changes to simplify this file.

Changelog

Breaking changes

  • createUseGridApiEventHandler is not exported anymore.

@romgrk romgrk added performance component: data grid This is the name of the generic UI component, not the React module! labels Feb 5, 2025
@romgrk romgrk requested a review from a team February 5, 2025 22:36
@mui-bot
Copy link

mui-bot commented Feb 5, 2025

@@ -30,7 +30,6 @@
{ "name": "ColumnsStylesInterface", "kind": "Interface" },
{ "name": "COMFORTABLE_DENSITY_FACTOR", "kind": "Variable" },
{ "name": "COMPACT_DENSITY_FACTOR", "kind": "Variable" },
{ "name": "createUseGridApiEventHandler", "kind": "Function" },
Copy link
Contributor

Choose a reason for hiding this comment

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

this is a breaking change
migration guide needs an entry for the removal

@romgrk romgrk merged commit 9b0db3f into mui:master Feb 6, 2025
20 checks passed
@romgrk romgrk deleted the refactor-use-grid-api-event-handler branch February 6, 2025 15:31
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! performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants