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
When using Material-UI components, the import order the related css within output html is not static. This outputs inconsistent styling due to inconsistent overrides.
Affected by three different situations
Whether we are using destructuring to import the components or direct imports
There an expectation for a static order of css load order on the HTML. The lack of it makes development very tedious and unpredictable in styling overrides.
Screenshots
Using dev
Using prod
System information
OS: MacOS
Browser: Chrome
Version of Next.js: 9.4.4
Version of Node.js: v10.16.0
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
When using Material-UI components, the import order the related css within output html is not static. This outputs inconsistent styling due to inconsistent overrides.
Affected by three different situations
have different results than
have different results to
yarn dev
have different results toyarn build && yarn start
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
/src/SideNav.component.tsx
and run in Prod to see differencechange
to
to
Expected behavior
There an expectation for a static order of css load order on the HTML. The lack of it makes development very tedious and unpredictable in styling overrides.
Screenshots
Using dev
Using prod
System information
The text was updated successfully, but these errors were encountered: