Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"It looks like rendering a new page is blocked until API requests to both "categories" and "products" endpoints are completed" This could be the known issue[0] with how Next.js does Server Side Rendering with getServerSideProps(). It calls this on every page transition, even client side. Often resulting in unnecessary loading of initial data.

[0][https://github.com/vercel/next.js/issues/11897]



Damn. If this is a Next.js issue then I'm pretty disappointed that it doesn't work well for such a common use case.

From the looks of that issue there are workarounds in some instances though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: