futureRX icon indicating copy to clipboard operation
futureRX copied to clipboard

Server html differs from client html

Open manuelmazzuola opened this issue 9 years ago • 0 comments

Seems that universal support is broken

warning.js:44 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) " data-reactid="1"><div data-reactid="2"
 (server) " data-reactid="1"><nav class="navbar nawarning @ warning.js:44_mountImageIntoNode @ ReactMount.js:473mountComponentIntoNode @ ReactMount.js:112perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392_callee2$ @ universal-render.js:127tryCatch @ runtime.js:62invoke @ runtime.js:336prototype.(anonymous function) @ runtime.js:95step @ universal-render.js:41(anonymous function) @ universal-render.js:41(anonymous function) @ universal-render.js:41_default @ universal-render.js:245(anonymous function) @ index.js:31(anonymous function) @ app-DEFAULT.js:4730__webpack_require__ @ app-DEFAULT.js:654fn @ app-DEFAULT.js:84(anonymous function) @ multi_app:4(anonymous function) @ app-DEFAULT.js:10674__webpack_require__ @ app-DEFAULT.js:654(anonymous function) @ app-DEFAULT.js:701(anonymous function) @ app-DEFAULT.js:704
client.js:58 [HMR] connected

manuelmazzuola avatar Jul 28 '16 14:07 manuelmazzuola