-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get error msg in Micro-frontend environment: Cannot read properties of null (reading 'cssRules') #1626
Comments
@okonet sorry asking for help : the reason seems like from here if (nativeParent === void 0) {
nativeParent = this.element.sheet // this will be null
// if(this.element.sheet){
// nativeParent = this.element.sheet
// ___cacheElement = this.element.sheet
// }else{
// nativeParent = ___cacheElement;
// }
} |
@haoyinag could you reproduce it on a repo or on a sandbox link? |
The same problem here. This error occurs when in stylesheet are empty style blocs. <style data-jss data-meta="MuiBox"> </style>Its generated by MUI v4. It works with this code:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior:
i can switch micro apps as fine
Describe the bug:
when i switch back to a micro app , get error msg like :
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: