apollographql / apollographql/apollo-client-integrations

How to use with react router clientLoader?

Open
#453 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
556
Forks
53
PR merge metrics
No merged PRs in 30d

Description

If you want ssr only on first render for seo and then go spa mode, using `loader` and `clientLoader` at the same time (after first render `loader` will be skipped on navigation and `clientLoader` used instead), how can we do this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the React Router loader and clientLoader behavior described in the issue, then inspect the Apollo Client Next.js App Router integration for SSR and navigation handling. Confirm whether first-render SSR for SEO followed by SPA navigation is supported, and document the required configuration or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, react, typescript
Domain
frontend
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.