Skip to content

Conversation

@flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Nov 6, 2025

Extracted from #20051

You can read this discussion to have the reasoning behind the new DX.
If you have any proposal I'm interested, this is the only impact on the public DX of #20051.

This PR does not solve #19426, the R generic is not used for now. But people can still migrate to those new hooks, so no issue releasing this PR before #20051.

@flaviendelangle flaviendelangle self-assigned this Nov 6, 2025
@flaviendelangle flaviendelangle added type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. scope: tree view Changes related to the tree view. This includes TreeView, TreeItem. labels Nov 6, 2025
@mui-bot
Copy link

mui-bot commented Nov 6, 2025

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

Updated pages:

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 🔺+134B(+0.21%) 🔺+28B(+0.14%)
@mui/x-tree-view-pro 🔺+200B(+0.23%) 🔺+41B(+0.15%)

Details of bundle changes

Generated by 🚫 dangerJS against 42540fa

@flaviendelangle flaviendelangle changed the title [tree view] Expose one hook per component to initialize the apiRef [tree view] Expose one hook per component to initialize the apiRef Nov 6, 2025
@flaviendelangle flaviendelangle marked this pull request as ready for review November 6, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: tree view Changes related to the tree view. This includes TreeView, TreeItem. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants