Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 761 Bytes

NUQS-303.md

File metadata and controls

17 lines (11 loc) · 761 Bytes

Multiple adapter contexts detected

Probable cause

This error occurs in debug mode in certain monorepo setups where references of the adapter context aren't the same in different packages, and cause a NUQS-404 - nuqs requires an adapter to work with your framework error.

Root cause

As described in the React docs, this can happen with Context providers (which is what adapters are) being re-created in different modules and causing different references being used for a provider and consumers.

Possible solutions

See issue #798 for more details.