Next.js Discord

Discord Forum

Search params in draft mode

Answered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
Search params are not working in draft mode when cache components are enabled: https://github.com/vercel/next.js/issues/98720

This is quite cumbersome as there is no real workaround. A pr with possible fix is available however.

Any clue when this will be fixed?
Answered by Transvaal lion
It got fixed in the latest canary! 👌
View full answer

2 Replies

@Transvaal lion Search params are not working in draft mode when cache components are enabled: https://github.com/vercel/next.js/issues/98720 This is quite cumbersome as there is no real workaround. A pr with possible fix is available however. Any clue when this will be fixed?
its pretty unclear when nextjs merges which features. If I would be you, I would try to find any way to fix it but to not lose functionality. Keep in mind: you'll lose some functionality while fixing it. But you keep track of your issue, so when its fixed, you can upgrade your code
Transvaal lionOP
It got fixed in the latest canary! 👌
Answer