-
I have a really complex component, that is difficult to match the height for a skeleton, without generating a lot of CLS. My strategy is to simply render this large component with empty dummy data, and a loading overlay, and when the data comes in, load the component. In this case, it's a lot easier to not use suspense. But if I disable it, SSR doesn't work. Is there a way to get it to work when This is also a very old app, with dozens of components that load data - migrating them all to suspense is a much heavier lift than an alternative. It seems like it should be possible to use this without Suspense boundaries (given it is clearly possible on other platforms), but there's nothing in the docs about how to set it up in next.js specifically. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Oh, could it be just as easy as turning on |
Beta Was this translation helpful? Give feedback.
Oh, could it be just as easy as turning on
suspense: true
when doing SSR, and disabling it in the browser? Neat!