Skip to content
Discussion options

You must be logged in to vote

Thanks, I tried your repro and the issue occurs just by importing the adapter, not even by including it in the React tree:

import 'nuqs/adapters/next/app'

That could suggest a bundler issue, or a CJS/ESM incompatibility issue with Mantine, but at least it rules out the context provider as the source of the issue.

Edit: if I remove the "use client" directive in nuqs/adapters/next/app, the problem also goes away. So definitely hinting towards the bundling issue, maybe this is something that we could escalate to the Next.js team.

Edit: yeah definitely a "use client" directive issue. If I completely remove nuqs, the simple fact of importing this file in the root layout causes the issue:

// sr…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@stefan-girlich
Comment options

@franky47
Comment options

@stefan-girlich
Comment options

@franky47
Comment options

Answer selected by franky47
@stefan-girlich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants