UNPKG

@apollo/client-react-streaming

Version:

This package provides building blocks to create framework-level integration of Apollo Client with React's streaming SSR. See the [@apollo/client-integration-nextjs](https://github.com/apollographql/apollo-client-integrations/tree/main/packages/nextjs) pac

1 lines 807 B
{"version":3,"sources":["../src/index.cc.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\n\nlet RealSimulatePreloadedQuery: typeof import(\"./SimulatePreloadedQuery.cc.js\").default;\nexport const SimulatePreloadedQuery: typeof import(\"./SimulatePreloadedQuery.cc.js\").default =\n (props) => {\n if (!RealSimulatePreloadedQuery) {\n RealSimulatePreloadedQuery = React.lazy(\n () => import(\"./SimulatePreloadedQuery.cc.js\")\n );\n }\n return <RealSimulatePreloadedQuery {...props} />;\n };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,YAAuB;AAEvB,IAAI;AACG,IAAM,yBACX,CAAC,UAAU;AACT,MAAI,CAAC,4BAA4B;AAC/B,iCAAmC;AAAA,MACjC,MAAM,OAAO,iCAAgC;AAAA,IAC/C;AAAA,EACF;AACA,SAAO,oCAAC,8BAA4B,GAAG,OAAO;AAChD;","names":[]}