#When navigating from foo?page=1 to foo?page=2, the foo/loading.js script is not triggered. Is th

8 messages · Page 1 of 1 (latest)

quartz gale
#

Is there any fix for this ?
I wrapped the element in suspense and add the search params string as key and it worked fine but only in development environment, so any fix ?

jolly vaporBOT
#

🔎 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)

weary storm
#

Search params do not cause an rsc rerender, maybe router.refresh() would trigger the loading state since it is refetching rsc but I'm not 100% positive on that one.

supple tide
#

Search params do not cause an rsc rerender
That is wrong. They DO rerun.

quartz gale
#

if they don't then it won't work on development env

weary storm
quartz gale
#

i think it'd a bug