Questions and discussions about using the Shopify CLI and Shopify-built libraries.
I am working on a code base I did not design and am wrapping my head around some issues.
When I finally got the app running, I get the initial home screen, and the app properly gets the "host" to pass to the <Provider> config.
When I click on a nav button that runs this code:
const app = useAppBridge();
const handleClick = () => {
const redirect = Redirect.create(app);
ConsoleLogger("log: ConfigureBanner: redirect", redirect);
redirect.dispatch(Redirect.Action.APP, "/settings");
};
The whole app reloads, but this time the app does NOT have the "host" available in the query params for it to hand to the <Provider> component.
I honestly can't figure out why.
These are my relevant shopify package versions