React with SSR FlowRouter를 사용하고 있습니다. 이 때문에 라인의React SSR - window.height/width를 처리하십시오.
:
나는 때문에 클라이언트와 서버 코드의 차이 그게 전부 알고 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.
(I이 액세스 할 수없는 :
var height = (Meteor.isClient ? window.innerHeight : 0);
<div style={{top: height+'px' }}>
내가 그런 경고가 내 서버의 창).
경고를 피할 방법이 있습니까?
게시 해 주셔서 감사합니다. – Coherent