adrianhajdin / ecommerce_sanity_stripe

Modern Full Stack ECommerce Application with Stripe
https://jsmastery.pro
2.19k stars 675 forks source link

Promise.all() #35

Open GabrielPedroza opened 2 years ago

GabrielPedroza commented 2 years ago

Shouldn't you use promise.all in the ssr func inside the index.js so you can just get all the data at once instead of waiting for the previous one to finish?