Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to fix issue #262 #269

Closed
wants to merge 1 commit into from
Closed

Conversation

nodegin
Copy link

@nodegin nodegin commented Apr 3, 2024

In version 0.9.0, some packages have been separated from @apollo/experimental-nextjs-app-support/ssr,

this PR updates the correct usage so people can follow.

@nodegin nodegin requested a review from a team as a code owner April 3, 2024 11:36
@apollo-cla
Copy link

@nodegin: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

@phryneas
Copy link
Member

phryneas commented Apr 3, 2024

I'm sorry, but that's not the intended way of using it.

If you are using @apollo/experimental-nextjs-app-support, you should also import everything from @apollo/experimental-nextjs-app-support - and in this case from @apollo/experimental-nextjs-app-support/ssr.

We will eventually move the /rsc and /ssr imports together to @apollo/experimental-nextjs-app-support and rename NextSSRApolloClient etc. to just ApolloClient. That's planned for version 0.11.0.

But you'll always only be importing from the @apollo/experimental-nextjs-app-support and @apollo/client packages.

"@apollo/client-react-streaming" is only interesting for you if you want to integrate Apollo Client with another framework (or a hand-written solution).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants