File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,18 @@ If you encounter this error outside of the browser, like in a test
27
27
runner (eg: Vitest or Jest), you may use the [ testing adapter] ( https://nuqs.47ng.com/docs/testing )
28
28
from ` nuqs/adapters/testing ` to mock the initial search params and access
29
29
setup/assertion testing facilities.
30
+
31
+ ### Monorepo setups
32
+
33
+ This error can also occur in monorepo setups where components using nuqs hooks
34
+ are in different packages resolving to different ` nuqs ` versions,
35
+ leading to different context references being used.
36
+
37
+ If you [ enable debugging] ( https://nuqs.47ng.com/docs/debugging ) , you might see a
38
+ [ ` NUQS-303 - Multiple adapter contexts detected ` ] ( ./NUQS-303 ) error, confirming
39
+ this hypothesis.
40
+
41
+ For additional clarification, ensure that all packages use compatible versions
42
+ of ` nuqs ` to prevent this issue from arising. See issue
43
+ [ #798 ] ( https://github.com/your-repo/issues/798 ) for more details and
44
+ possible solutions.
You can’t perform that action at this time.
0 commit comments