captivationsoftware/react-sticky

server rendering

Opened this issue · 2 comments

I use nodejs server rendering. After updating react-sticky to last version (6.0.1) I have problem:

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

Could you help me, please... What should I do to fix this?

I'm having the same issue -- any suggestions?

vcarl commented

Hi @041616 @liuhelen10 would one of you be able to create a minimal reproduction of the problem? Setting up an SSR app to test this would take me a bit of time, I could likely resolve more quickly with a reproduction.