imranhsayed/gatsby-woocommerce-themes

Apollo queries vs Gatsby Queries (runtime vs buildtime)

sidyes opened this issue · 0 comments

Hey there,

awesome theme which gives me a lot of inspiration. But by getting all the products during build time, you wont get any updates as long as you do not trigger a new build, right?

Wouldn't it be better to use apollo for getting the products? By this, you can ensure that your products on the site are always uptodate. even the offline usage would be possible to a certain point as apollo requests are getting cached.

So my question is, why didn't you use apollo in general to get shop data?