Issue summary
I am using this example from the React + Apollo + Next tutorial and I cannot figure out how to implement a behaviour which redirects the user to onboarding if he hasn’t gone through onboarding yet.
https://github.com/Shopify/shopify-demo-app-node-react
Expected behavior
- A user opens my app on Shopify
- If the user has already gone through Onboarding then continue to the Dashboard.
- If the user hasn’t gone through Onboarding, send his to the Onboarding page.
- This logic should run for every page in the system and it should work on server as well as on client.
Question
Any example on how to achieve the requested behaviour with the provided tutorial would be awesome.
Thanks