A sample project where I try various thing in Relay with Next and SSG, with TypeScript types checking whenever I can. Trying Incremental Site Generation with Relay, to allow using dynamic content but still have the benefits of static websites.
Also testing relay store as a client store, with some internal directives in
relay like @__clientField
, very useful to have client-side fields (similar to
Type Policies in Apollo)
This project uses my starter https://github.com/Liinkiing/next-ts-graphql-relay-starter, feel free to use it!