react icon indicating copy to clipboard operation
react copied to clipboard

Escaped equal in server side id rendering

Open teosz opened this issue 10 years ago • 4 comments

Hello, I've got some strange problem with server side rendering, React add a slash before = and make checksum invalid:

 (client) bjtkxdeayo.0.0.0.0.$/=10">
 (server) bjtkxdeayo.0.0.0.0.$=10">

errors

teosz avatar Jan 25 '16 11:01 teosz

Can you provide a simple usage example / component that creates this problem?

jimfb avatar Feb 02 '16 00:02 jimfb

Hi, We seem to have the same problem. On our side, it started to raise this warning as soon as we decorated some components with CSSModules from react-css-modules.

romaingweb avatar Feb 24 '16 17:02 romaingweb

Hi, I couldn't separate the error in other repo/example because i can't identify the source of problem @romaingweb we don't use react-css-modules, our problem came after using implementing server side authorization. Anyway in the last time i didn't saw the error.

teosz avatar Feb 24 '16 17:02 teosz

I'm reasonably sure this is fixed in master/future, since our react-dataid is now numeric for SSR.

jimfb avatar Feb 24 '16 18:02 jimfb