You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting A props object containing a "key" prop is being spread into JSX console error whenever I use the following examples in my Next.js App Router project:
I have just copied the code from the above examples and the console error comes either on page reload, autocomplete is opened or an item is selected.
This error doesn't come in CRA, Vite or Next.js Pages Router projects (I have checked in these projects). This issue is specifically happening in the Next.js App router only.
Expected behavior
A props object containing a "key" prop is being spread into JSX console error should not come
Steps to reproduce
Link to live example: https://codesandbox.io/p/devbox/headless-smoke-58yr86
Current behavior
I am getting
A props object containing a "key" prop is being spread into JSX
console error whenever I use the following examples in my Next.js App Router project:I have just copied the code from the above examples and the console error comes either on page reload, autocomplete is opened or an item is selected.
This error doesn't come in CRA, Vite or Next.js Pages Router projects (I have checked in these projects). This issue is specifically happening in the Next.js App router only.
Expected behavior
A props object containing a "key" prop is being spread into JSX
console error should not comeContext
No response
Your environment
npx @mui/envinfo
Search keywords: autocomplete, nextjs, app router, key prop being spread into JSX
The text was updated successfully, but these errors were encountered: