I am using react 16.2.0 and doing SSR. My web app blink after hydration. So to find error or mismatch in server rendered HTML and client rendered HTML, I ran the code in development mode. Now it shows
warning.js?6db0:33 Warning: Did not expect server HTML to contain a <div> in <div>.
I know this error is due to deletion of some div from server rendered HTML to client rendered HTML.
But now, my question is ...how to debug this? there is no reference to element node where it is happening. One solution is to check the whole page manually. Is there any other way..more efficient. How to resolve this warning?