We have microfrontend react app using originjs/vite-plugin-federation. One of remote microfrontend use MUI component library and we try to add Autocomplete component, but we got error: Cannot read properties of null (reading 'useContext')
We tried many ways to solve it: we were wrapping app in StyledEngineProvider, in ThemeProvider and react context. Also we tried to set peer dependencies, tried to remove node modules and reinstall. We tried to run our apps via npx instead of yarn classic
How can I solve this issue?