Issue - After an upgrade to React 16 (from 15), we were seeing an error throw a warning message in regards to
Warning: Did not expect server HTML to contain the text node " " in <div>.
. Stepping through Fiber calls can be very time
consuming and not very informative if you don't know where to look.
Solution - Do a source-search in Chrome DevTools for reconcileChildFibers
, place a breakpoint in there, and add a
Watch for newChild.type.name
. Then you can just step through as it iterates the components and you can easily read which
component is processed before the error is thrown.