-
Hey, hopefully someone can help me figure out the right pattern to use for something like this: https://codesandbox.io/s/confident-morse-ggmbi?file=/app/pages/index.tsx This page has SSR props that take a long time to return. When navigating to the slow page (eg from index) the data is fetched via xhr but I want to show a loading state. I tried wrapping the whole thing in Is there a better pattern for handling this loading state? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here's two examples with different ways to solve this: |
Beta Was this translation helpful? Give feedback.
Here's two examples with different ways to solve this: