Next.js Discord

Discord Forum

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

Unanswered
Pavement ant posted this in #help-forum
Open in Discord
Pavement antOP
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 ?

5 Replies

Giant panda
Search params do not cause an rsc rerender
That is wrong. They DO rerun.
Pavement antOP
if they don't then it won't work on development env
Pavement antOP
Pavement antOP
i think it'd a bug
Pavement antOP
@Giant panda is it time to repost in the general forum ?