IE11 & Edge SSR - Warning: Prop d
did not match. Server: “M 0 0 h 24 v 24 H 0 Z” Client: “M0 0h24v24H0z”
#14997
Closed
2 tasks done
Labels
bug 🐛
Something doesn't work
external dependency
Blocked by external dependency, we can’t do anything about it
Expected Behavior 🤔
ReactDOM.hydrate should not generate any warnings
Current Behavior 😯
On Edge and IE11 only, hydrate warns with:
Warning: Prop
d
did not match. Server: “M 0 0 h 24 v 24 H 0 Z” Client: “M0 0h24v24H0z”All other browsers seem to be OK
Hitting the server with CURL shows that the server data is correct.
Steps to Reproduce 🕹
I took the SSR example from material-ui-master/examples/ssr
Added a single SVG icon from @material-ui/icons
Removed code a piece at a time to try to isolate the issue. What's left is the absolute minimum required and the problem still exists.
The project is attached as ssr.zip
ssr.zip
Context 🔦
Working on a project that requres SSR as well as IE11 & Edge support. The MS browsers were happy until I started using @material-ui/icons
Your Environment 🌎
I'm developing on Windows 10 1809
Node v8.9.1
The text was updated successfully, but these errors were encountered: