I think this is not a bug, it's a compatibility issue.
In React v15.x+, the server-sided HTML rendered by react-dom/server's function renderToString() contains some comment tags that represent null components (instead of <noscript> tags like React v0.14.x), which is really neat.
Unfortunately, when the app is served by Cloudflare with HTML minification enabled, it automatically removes all the comment tags, including the ones generated by React.
This behavior causes the client app to crash, and throws an error:
Unable to find element with ID x.
With x is a number, usually the null component's react-id.
The problem can be solved by disabling HTML minification on Cloudflare, but the question is, is it possible to earn the benefit from HTML minification, while keep the app running well?
React/ReactDOM version: 15.6.1
Node version: 6.10.0 / 6.10.3