gil-- / gatsby-starter-shopify-app

[Experimental] ⚡️💰🏗Serverless Shopify App w/ Gatsby & Firebase
https://gatsby-starter-shopify-app.firebaseapp.com/install/
MIT License
104 stars 19 forks source link

Feature/route propogater #10

Closed gil-- closed 5 years ago

gil-- commented 5 years ago

Major refactor needed...

This adds the ShopifyRoutePropagator component which will let us update the url bar as we navigate to different pages/components on the client side.

Part of this work will be moving the app logic to /app and making it client-side only routing per Gatsby's best practice when doing dynamic data vs SSR.

route-update

gil-- commented 5 years ago

almost ready. need to add context api to cache authToken and domain as well as dev mode cookie for active store domain for hotrealod.

Also need to add some additional checks for SSR to not break Gatsby build