adamsoffer / next-apollo

React higher-order component for integrating Apollo Client with Next.js
MIT License
482 stars 64 forks source link

Support getStaticProps #100

Open chrbala opened 3 years ago

chrbala commented 3 years ago

This PR addresses #92.

I have tested this with a test repo with static rendering. I removed the callback feature in next-apollo-ts, since it can be implemented with composition. I also did not update withApollo in this repository to revalidate as is done in next-apollo-ts. You can test these additions and see a clean history of my changes in my fork of the repo.