Is it possible to track searchparams on the client without using Suspense? #70574
Replies: 3 comments 11 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Shouldn't you use The only downside I see, is that during build time the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
The question is dedicated for the app router.
Currently, when I track window.location.search inside a useffect to basically track searchparam changes, it does not trigger when using router.push. Can anyone explain why? The usecase is to track searchparams on the client without using Suspense.
Beta Was this translation helpful? Give feedback.
All reactions