|
If I wanted to write isomorphic code (working on both server and client) should I import |
Replies: 2 comments 6 replies
|
Yes, you can import the parsers from |
|
Note: nuqs@2.4.1 shipped with a fix for this in #923. It allows importing from Note that you would only need to import from For all other cases, importing from |
Note: nuqs@2.4.1 shipped with a fix for this in #923. It allows importing from
nuqs/serverwithout getting the "Cannot find exportcachefrom React" error.Note that you would only need to import from
nuqs/serverin Next.js when using the app router, in code that can be shared between server and client.For all other cases, importing from
nuqsis fine (other frameworks don't care about the "use client" directive).