├── README.md ├── with-relay-experimental ├── .babelrc ├── .env ├── .gitignore ├── .graphqlconfig ├── README.md ├── components │ ├── BlogPostPreview.tsx │ └── BlogPosts.tsx ├── lib │ └── relay.ts ├── next-env.d.ts ├── package.json ├── pages │ ├── _app.tsx │ ├── about.tsx │ ├── client-only.tsx │ └── index.tsx ├── schema │ └── schema.graphql ├── tsconfig.json └── yarn.lock └── with-relay-hook ├── .babelrc ├── .env ├── .gitignore ├── .graphqlconfig ├── README.md ├── components ├── BlogPostPreview.tsx └── BlogPosts.tsx ├── lib └── relay.ts ├── next-env.d.ts ├── package.json ├── pages ├── _app.tsx ├── about.tsx └── index.tsx ├── schema └── schema.graphql ├── tsconfig.json └── yarn.lock /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/README.md -------------------------------------------------------------------------------- /with-relay-experimental/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/.babelrc -------------------------------------------------------------------------------- /with-relay-experimental/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/.env -------------------------------------------------------------------------------- /with-relay-experimental/.gitignore: -------------------------------------------------------------------------------- 1 | __relay_artifacts__/ 2 | node_modules 3 | .next 4 | -------------------------------------------------------------------------------- /with-relay-experimental/.graphqlconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/.graphqlconfig -------------------------------------------------------------------------------- /with-relay-experimental/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/README.md -------------------------------------------------------------------------------- /with-relay-experimental/components/BlogPostPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/components/BlogPostPreview.tsx -------------------------------------------------------------------------------- /with-relay-experimental/components/BlogPosts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/components/BlogPosts.tsx -------------------------------------------------------------------------------- /with-relay-experimental/lib/relay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/lib/relay.ts -------------------------------------------------------------------------------- /with-relay-experimental/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/next-env.d.ts -------------------------------------------------------------------------------- /with-relay-experimental/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/package.json -------------------------------------------------------------------------------- /with-relay-experimental/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/pages/_app.tsx -------------------------------------------------------------------------------- /with-relay-experimental/pages/about.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/pages/about.tsx -------------------------------------------------------------------------------- /with-relay-experimental/pages/client-only.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/pages/client-only.tsx -------------------------------------------------------------------------------- /with-relay-experimental/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/pages/index.tsx -------------------------------------------------------------------------------- /with-relay-experimental/schema/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/schema/schema.graphql -------------------------------------------------------------------------------- /with-relay-experimental/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/tsconfig.json -------------------------------------------------------------------------------- /with-relay-experimental/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-experimental/yarn.lock -------------------------------------------------------------------------------- /with-relay-hook/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/.babelrc -------------------------------------------------------------------------------- /with-relay-hook/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/.env -------------------------------------------------------------------------------- /with-relay-hook/.gitignore: -------------------------------------------------------------------------------- 1 | __relay_artifacts__/ 2 | node_modules 3 | .next 4 | -------------------------------------------------------------------------------- /with-relay-hook/.graphqlconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/.graphqlconfig -------------------------------------------------------------------------------- /with-relay-hook/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/README.md -------------------------------------------------------------------------------- /with-relay-hook/components/BlogPostPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/components/BlogPostPreview.tsx -------------------------------------------------------------------------------- /with-relay-hook/components/BlogPosts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/components/BlogPosts.tsx -------------------------------------------------------------------------------- /with-relay-hook/lib/relay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/lib/relay.ts -------------------------------------------------------------------------------- /with-relay-hook/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/next-env.d.ts -------------------------------------------------------------------------------- /with-relay-hook/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/package.json -------------------------------------------------------------------------------- /with-relay-hook/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/pages/_app.tsx -------------------------------------------------------------------------------- /with-relay-hook/pages/about.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/pages/about.tsx -------------------------------------------------------------------------------- /with-relay-hook/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/pages/index.tsx -------------------------------------------------------------------------------- /with-relay-hook/schema/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/schema/schema.graphql -------------------------------------------------------------------------------- /with-relay-hook/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/tsconfig.json -------------------------------------------------------------------------------- /with-relay-hook/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htsh-tsyk/nextjs-relay-hook-ssg-examples/HEAD/with-relay-hook/yarn.lock --------------------------------------------------------------------------------