Next.js Discord

Discord Forum

Opt a parallel route out of refetching due to changing searchparams.

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
I have a two col dashboard layout, a list of orders, and when you click each order it shows the details to the side.

Each col is using parallel routes that are correctly reative off of a few specific searchparams, the @list has ?search,filters,date the @details has a selected.

The issue is both the @list and @details refetch when any of the query params change but i really only want to be refetching when each of its respective params change, is there a way a opt @list out when ?selected changes?

0 Replies