Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
When using a
On a static client, Next.js invokes this method before the page component is rendered in order to provide the necessary props for the component. Thus, large requests can delay the client's first paint as this is a blocking request.
I would like to selectively ignore
I'm unwilling to move my slow API request to
For this feature request, is it possible to implement something similar to shallow routing, but for new pages?
Yes, here is the source code:
@brettinternet , your sandbox is not using the "static export" function of nextjs, right?
Maybe we are talking about different scenarios, mine is this:
When I enter the url on the navigation bar on my browser, the behavior is different for different environment.
And my workaround is to solving the #2 issue, I don't want