#Loading page with search query

7 messages · Page 1 of 1 (latest)

cinder ridge
#

So i have a word/ page with a search param, i.e. word?word=xyz now in here, whenever i navigate from word=xyz to word=abc, loading page doesn't show up... and it just seems as if the page is stuck until the fetch for abc completes and then the page renders over the current.

I want the loading page to be shown even when i'm navigating in between the same page with different search query

void sparrowBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

cinder ridge
#

Hmm

plucky pier
#

Please don't bump your post within minutes using low-effort messages.

cinder ridge
#

Okay

#

sorry for that.

cinder ridge
#

Silly me, the issue was related to how the next.js Link component is set to prefetch by default,

Changing List component to an <a> tag solved the issue, but one can even explicitly pass <... prefetch={false}> to disable it