在容器中重用标记但校验和无效(REACT)

时间:2017-01-03 03:26:28

标签: javascript reactjs web



warning.js:36Warning: 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) d="22"><div style="-webkit-tap-highlight
 (server) d="22"><div style="-moz-box-sizing:borde
&#13;
&#13;
&#13;

对此错误的说法非常困惑。我该怎么办呢?

0 个答案:

没有答案