Next.js Discord

Discord Forum

Abort Request / Lazy Load in Server Component

Unanswered
</Nexus_Prime> posted this in #help-forum
Open in Discord
Avatar
</Nexus_Prime>OP
In one of my pages this function is called some times. The problem is that this locks the navigation, having to wait every time this function was called to finish before rendering another page. I know that I can use LazyLoad or AbortController in this case, but I don't know how I would do it, since this is a server component and not a request
Image

0 Replies