facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
227.1k stars 46.3k forks source link

Escaped equal in server side id rendering #5913

Closed teosz closed 8 years ago

teosz commented 8 years ago

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

jimfb commented 8 years ago

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

romaingweb commented 8 years ago

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.

teosz commented 8 years ago

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.

jimfb commented 8 years ago

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