import pageData... VS pageData = await fetchPageData()...

In a SSR nextjs 13 app directory situation I though it was a simple and good idea to import the data and filter it for each page but I have experienced some stalls of the app that never resolves. Now I am rebuilding it using fetch-calls instead.

Any angles on that?
Was this page helpful?