I'm a Gadget n00b. I have a working app in development that I was able to test on my development store. I just deployed my gadget development environment to production and I'm struggling to create a shopify app arrangement that allows me to continue to develop my code while keeping production stable.
More concretely:
1. I want to be able to keep pushing changes to my backend + theme app extension codebase (currently in same folder) and test them on my development store.
2. Changes to development (backend + theme app extension) do not cause any issues in production.
So far, I've come up with a dual app approach each with its own extension.
App 1: MY_TEST_APP
This app will be installed only on my development store. The shopify app settings & the theme app extension codebase will point to the gadget development URL.
App 2: MY_PROD_APP
This app will be installed by stores. The shopify app settings & the theme app extension codebase will point to the gadget production URL.
Is this reasonable? Are there better ways of doing this (perhaps a single app approach)?