adamsoffer / adamsoffer/next-apollo

Question: is it possible to use with getStaticProps()?

Aperta
#92 16 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
477
Fork
62
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Dear Adam,

Thank you for this wonderful package. Please feel free to ignore this question if it is silly. I am struggling to follow what is going on...

We are using your package and would like to fetch data in `getStaticProps()` (in conjunction with the [next-mdx-remote](https://github.com/hashicorp/next-mdx-remote) package.)

I found this [thread](https://github.com/vercel/next.js/discussions/11957#discussioncomment-7190) and noticed you had commented on it.

Am I right in thinking that in order to fetch data in `getStaticProps()`, we cannot use your package, and will instead have to try to copy one of the solutions in that thread?

Thank you so much for any pointers and have a lovely Christmas,

Lydia

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.