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

50 setup apollo client for ssr with nextjs #51

Merged
merged 19 commits into from
Jan 26, 2024

Conversation

stromseng
Copy link
Collaborator

@stromseng stromseng commented Jan 26, 2024

Sets up an apollo client and uses it within the Blog page to fetch blog posts.

Has to use @apollo/client alpha to work with edge runtime. Issue is tracked here

Now uses graphql-codegen to automatically introspect graphql schema and generate types.

@stromseng stromseng self-assigned this Jan 26, 2024
@stromseng stromseng linked an issue Jan 26, 2024 that may be closed by this pull request
2 tasks
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 50e94d4
Status: ✅  Deploy successful!
Preview URL: https://b9eb628a.it2901-smallsatlab-hypso.pages.dev
Branch Preview URL: https://50-setup-apollo-client-for-s.it2901-smallsatlab-hypso.pages.dev

View logs

@stromseng stromseng added this to the Sprint 1 milestone Jan 26, 2024
@stromseng stromseng requested a review from luctra02 January 26, 2024 18:55
@luctra02 luctra02 merged commit 04e1c42 into main Jan 26, 2024
5 checks passed
@luctra02 luctra02 deleted the 50-setup-apollo-client-for-ssr-with-nextjs branch January 26, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup Apollo Client for SSR with nextjs
2 participants