-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
component: GlobalStylesThe React component.The React component.scope: stylesSpecific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
Description
The styles/auto-prefix.js auto-prefixer warns that, "Material-UI expects the global navigator.userAgent to be defined for server-side rendering. Set this property when receiving the request headers."
https://github.com/callemall/material-ui/blob/master/src/styles/auto-prefix.js#L10
Anyone have any example of this being implemented, or have suggestions on how to do this?
Metadata
Metadata
Assignees
Labels
component: GlobalStylesThe React component.The React component.scope: stylesSpecific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.