Skip to content

[DataGrid] Introduce selectors with arguments#14236

Merged
MBilalShafi merged 6 commits intomui:masterfrom
MBilalShafi:selectors-with-arguments
Aug 22, 2024
Merged

[DataGrid] Introduce selectors with arguments#14236
MBilalShafi merged 6 commits intomui:masterfrom
MBilalShafi:selectors-with-arguments

Conversation

@MBilalShafi
Copy link
Member

@MBilalShafi MBilalShafi commented Aug 16, 2024

Extracted from #13757
Related discussion: https://github.com/mui/mui-x/pull/13757/files#r1686750062

Changelog

  • Add new v8 variants of useGridSelector, createSelector, and createSelectorMemoized named as useGridSelectorV8, createSelectorV8, and createSelectorMemoizedV8. Selectors created with createSelectorV8 or createSelectorMemoizedV8 must be used with useGridSelectorV8 for them to work properly. These new variants will replace the existing props in v8.

Todos

  • Add the breaking changes to umbrella issue

@MBilalShafi MBilalShafi added internal Behind-the-scenes enhancement. Formerly called “core”. scope: data grid Changes related to the data grid. dx labels Aug 16, 2024
@mui-bot
Copy link

mui-bot commented Aug 16, 2024

Deploy preview: https://deploy-preview-14236--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against b9f5292

@MBilalShafi MBilalShafi marked this pull request as ready for review August 16, 2024 14:41
@MBilalShafi MBilalShafi requested a review from a team August 16, 2024 14:41
Copy link
Contributor

@romgrk romgrk left a comment

Choose a reason for hiding this comment

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

As long as useGridSelectorV8 isn't public we can still refactor it if we find an issue with it later, so I'm good with merging this PR as it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Behind-the-scenes enhancement. Formerly called “core”. scope: data grid Changes related to the data grid.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants