Next.js App Router delay during navigation
Unanswered
Porcelaine posted this in #help-forum
PorcelaineOP
next.js 13 There is a delay when the route jumps to the page. What is the reason?
6 Replies
@Porcelaine next.js 13 There is a delay when the route jumps to the page. What is the reason?
because that route is dynamically rendered (so the data fetching etc is done at request time)
you can use [Loading UI and Streaming](https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming) to add instant loading states
@joulev because that route is dynamically rendered (so the data fetching etc is done at request time)
PorcelaineOP
thanks let me take a look
@joulev because that route is dynamically rendered (so the data fetching etc is done at request time)
PorcelaineOP
My app keeps reporting this error
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
@Porcelaine My app keeps reporting this error
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
this is because your computer runs out of RAM
shut down the dev server, shut down some other RAM-intensive apps (e.g.: discord), then try again