Skip to content
Discussion options

You must be logged in to vote

Note: nuqs@2.4.1 shipped with a fix for this in #923. It allows importing from nuqs/server without getting the "Cannot find export cache from React" error.

Note that you would only need to import from nuqs/server in Next.js when using the app router, in code that can be shared between server and client.

For all other cases, importing from nuqs is fine (other frameworks don't care about the "use client" directive).

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@franky47
Comment options

@guptaashwanee
Comment options

@franky47
Comment options

@franky47
Comment options

@guptaashwanee
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by franky47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants