You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The defaultExchanges are dedupExchange, cacheExchange, ssr, fetchExchange in that order as you linked. So if you want to apply this to your next-urql client you should do:
urql version & exchanges:
urql
: 1.9.8next-urql
: 1.0.2@urql/devtools
: 2.0.2I'm wondering how you can add the devtools exchange without overriding the default exchanges with next-urql. The next-urql docs mention something about
mergeExchanges
in the second argument ofwithUrqlClient
, but I can only passssr
as an option in the second argument. If I provideexchanges
in the first argument, it'll not apply the default exchanges (https://github.com/FormidableLabs/urql/blob/main/packages/next-urql/src/with-urql-client.tsx#L48 and https://github.com/FormidableLabs/urql/blob/main/packages/next-urql/src/with-urql-client.tsx#L84).The text was updated successfully, but these errors were encountered: