Description
Do you want to request a feature or report a bug?
feature
What is the current behavior?
Currently, react shows hydration warning only in dev mode
What is the expected behavior?
It would be cool if react will show a warning about mismatch during hydration in production mode.
From docs:
…but you should treat mismatches as bugs and fix them. In development mode, React warns about mismatches during hydration.
So we can track it only in development, but for large apps it could be hard and could take a bunch of time to find all missmatches. But if we will output the warning in prod mode we can track it via sentry or services like this.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
v16.12.0