React: The Perils of Rehydration
This is more about the perils of React switching from component classes where lifecycle methods were explicit and obvious to the multipurpose leaky abstraction known as useEffect and the hooks API. To anyone that went through the class phase, this issue is probably obvious and well known.<p>Also, Gatsby. If Gatsby is hiding the React warnings when your SSR diverges from client side, then that&#x27;s on Gatsby. It&#x27;s hard enough to debug when you know what&#x27;s going on. This is like going in blindfolded with both arms tied behind your back.<p>Luckily this issue only comes up a handful of times.