2016-09-21 92 views
1

林流星1.4和材料UI反應並即時得到這個錯誤流量路由器SSR,流星和材料UI

warning.js:36 Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:

(client) ;width:100%;display:flex;padding-left:24 (server) ;width:100%;display:-webkit-box,-moz-box

我該如何解決這個問題?

回答

0

您需要找到什麼使服務器呈現與客戶端不同的內容。我猜在material-ui中,就像某些功能的瀏覽器開關一樣。一旦你找到了,我可以幫助更多。