DEV Community

Discussion on: How Suspense works in React18

Collapse
 
vkostunica profile image
vkostunica • Edited

Why there is no practical code example or even better example repo or Codesandbox? In theory all works beautiful but in reality you get bunch of hydration errors whenever server and client states mismatch, and there is no way to debug it because everything happens in fraction of a second on page refresh and error logs dont point to specific component.

Do you have same practical examples with Next.js?

i.postimg.cc/Ssd5qhkt/image.png

Collapse
 
sidak profile image
gursidak_singh

I will share a practical usage of it very soon. But in this post, my goal was to explain how this feature will bring a great change, the way react apps respond on load