Preparing for system design interviews?  Try bugzed.com →

graphql-codegen-apollo-next-ssr

JSON →
library 1.7.4 ·javascript maintenance
verified Jun 7, 2026

GraphQL Code Generator plugin for generating Apollo Client cache utilities and typed getServerSideProps in Next.js SSR. Current version 1.7.4, released 2022-05-12. Depends on graphql < 17.0.0. The plugin provides a typesafe getServerSideProps for each GraphQL query and a corresponding HOC to wrap the React component, avoiding multiple render passes required by getDataFromTree. The project is in maintenance mode and maintainer is needed; an alternative swr-gql solution is recommended. Key differentiator: it works with getServerSideProps (not getInitialProps) and generates cache read/write functions tailored for Apollo client integrations. Note: it uses the standard plugin configuration schema from graphql-codegen and outputs files with Apollo cache operations.

total hits 5
actors 1 distinct systems
last hit 20d ago human
Amazonbot
2
Humans
3

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇧🇷 Brazil