Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[material-ui][Autocomplete] Fix React 18.3 key spread warnings in Autocomplete demos #42691

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

aarongarciah
Copy link
Member

Part of #39833

Fixes some React warnings in Material UI Autocomplete demos when using React 18.3 or higher. React started to warn against spreading key props.

image

@aarongarciah aarongarciah added package: material-ui Specific to @mui/material component: autocomplete This is the name of the generic UI component, not the React module! labels Jun 19, 2024
@aarongarciah aarongarciah requested a review from mnajdova June 19, 2024 23:24
@mui-bot
Copy link

mui-bot commented Jun 19, 2024

Netlify deploy preview

https://deploy-preview-42691--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 72d4cc4

@aarongarciah aarongarciah merged commit c02ee46 into mui:next Jun 20, 2024
21 checks passed
@aarongarciah aarongarciah deleted the fix-keys-autocomplete-demos branch June 20, 2024 11:06
@aarongarciah aarongarciah added the docs Improvements or additions to the documentation label Jun 20, 2024
@aarongarciah aarongarciah added the React 19 support About improving React 19 support label Jul 2, 2024
@aarongarciah aarongarciah mentioned this pull request Jul 5, 2024
13 tasks
aarongarciah added a commit to aarongarciah/material-ui that referenced this pull request Jul 5, 2024
aarongarciah added a commit to aarongarciah/material-ui that referenced this pull request Jul 5, 2024
joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation package: material-ui Specific to @mui/material React 19 support About improving React 19 support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants