The data is fetched on every user browser refresh. The data is fetched on the server and should be fast. Without the use of Suspense, the whole page will not load without this data being fetched. With Suspense, the page at least shows and the fallback presentation shows. I artificially set a timeout of 5 seconds to simulate a slow data fetch. Note that the code used to fetch the data is very similar to the static rendering code but this time, we add the cache: 'no-store'.
See code
here.
Sample Data: Age Distribution
Last Updated at