apollo-client-nextjs
apollo-client-nextjs copied to clipboard
Apollo Client support for the Next.js App Router
I'm trying to use this package on a new project. I am wondering if it can be used for browser-side Apollo queries/mutations too. The RFC mentioned providing a `useApolloClient()` hook...
Resolves #212 and also prepares for #248 a bit. # Previews: https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/useSuspenseQuery https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/queryRef-useReadQuery https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/queryRef-refTest On each you can call `__APOLLO_CLIENT__[Symbol.for("apollo.suspenseCache")].queryRefs` to investigate the queryRefs (if there are any)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.12.11` -> `20.16.10`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.11/20.16.10) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@testing-library/react](https://redirect.github.com/testing-library/react-testing-library) | [`15.0.7` -> `16.0.1`](https://renovatebot.com/diffs/npm/@testing-library%2freact/15.0.7/16.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Other Branches These updates are pending. To force PRs open, click the checkbox...
Hello! I have existing app react/apollo-graphql/next I need to ensure login/logout functionality. My server is on python/django/graphene stack. I have mutations to login, and refresh the JWT token. ``` mutation...
Hi, first of all thanks for this amazing library. I'm trying to figure out the proper use for rendering & caching with SSR/Next. I'm using `fetchOptions: { cache: 'force-cache' }`...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [next](https://nextjs.org) ([source](https://togithub.com/vercel/next.js)) | [`14.1.0` -> `14.2.2`](https://renovatebot.com/diffs/npm/next/14.1.0/14.2.2) | [](https://docs.renovatebot.com/merge-confidence/) |...
In `node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@apollo/experimental-nextjs-app-support/dist/ssr/index.ssr.js` ``` import { useContext } from 'react'; import { buildManualDataTransport } from '@apollo/client-react-streaming/manual-transport'; export { resetManualSSRApolloSingletons as resetNextSSRApolloSingletons } from '@apollo/client-react-streaming/manual-transport'; import { WrapApolloProvider, ApolloClient } from '@apollo/client-react-streaming';...