1: https://i.stack.imgur.com/Y2Zdo.png**strong text**
here i am trying to use Appbar component of material ui but i get this error
This was a bug that was caused by useInsertionEffect being referenced directly in the specifiers list of the import statement (React.useInsertionEffect instead of React['useInsertion' + 'Effect']).
It is fixed as of @emotion/react@11.8.1 - upgrade to that version, and the error should disappear.
npm install @mui/material@5.4.2 @emotion/react@11.7.1 @emotion/styled@11.6.0 solves everything...
It's possible that there is an error in the latest version of @emotion/react, 11.8.0. It was released 3h ago which would explain why it stopped working all of a sudden.
As a workaround, install the older version @emotion/react@11.7.1 to fix the problems.