{"path":"docs/exchanges","templateID":1,"sharedPropsHashes":{"sidebarHeaders":"Z2g2wgG"},"localProps":{"title":"Exchanges","path":"/exchanges/","renderedMd":"<p><a name=\"exchanges\"></a></p>\n\n        <h1>\n          Exchanges\n        </h1>\n      \n\n            <h2>\n              <a class=\"Anchor\"\n                aria-hidden=\"true\"\n                id=\"packages\"\n                href=\"#packages\"\n              >\n                <svg viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\"aria-hidden=\"true\">\n                  <path fill-rule=\"evenodd\"\n                    d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n                  />\n                </svg>\n              </a>\n              Packages\n            </h2>\n          \n<p>These exchanges can be imported from the <code class=\"language-text\">urql</code> package.</p>\n<ul>\n<li><code class=\"language-text\">cacheExchange</code>: the default document cache implementation</li>\n<li><code class=\"language-text\">debugExchange</code>: logs information about ongoing operations and results</li>\n<li><code class=\"language-text\">dedupExchange</code>: deduplicates ongoing operations</li>\n<li><code class=\"language-text\">fetchExchange</code>: sends operations to GraphQL HTTP endpoints and resolves results</li>\n<li><code class=\"language-text\">ssrExchange</code>: used to cache results during SSR and rehydrate them on the client-side</li>\n<li><code class=\"language-text\">subscriptionExchange</code>: used to support GraphQL subscriptions</li>\n</ul>\n\n            <h2>\n              <a class=\"Anchor\"\n                aria-hidden=\"true\"\n                id=\"addons\"\n                href=\"#addons\"\n              >\n                <svg viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\"aria-hidden=\"true\">\n                  <path fill-rule=\"evenodd\"\n                    d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n                  />\n                </svg>\n              </a>\n              Addons\n            </h2>\n          \n<ul>\n<li><a href=\"https://github.com/FormidableLabs/urql-devtools\"><code class=\"language-text\">@urql/devtools</code></a>: A Chrome extension for monitoring and debugging</li>\n<li><a href=\"https://github.com/FormidableLabs/urql-exchange-suspense\"><code class=\"language-text\">@urql/exchange-suspense</code></a>: An experimental exchange for using <code class=\"language-text\">&lt;React.Suspense&gt;</code></li>\n<li><a href=\"https://github.com/Daniel15/urql-persisted-queries\"><code class=\"language-text\">urql-persisted-queries</code></a>: An exchange for adding persisted query support</li>\n</ul>\n","tocArray":[{"content":"Exchanges","level":1},{"content":"Packages","level":2},{"content":"Addons","level":2}]}}
