I’m using the Shopify App Home Loading API to display the loading indicator in my embedded app:
Until last week, the loading bar appeared correctly at the top of the Shopify admin. However, it has stopped appearing entirely, even though the API still exists and resolves successfully.
@srafiz we noticed the same thing recently. The API still resolves without errors but the loading bar just doesn’t render, which points to a Shopify admin side change rather than anything in your code.
Worth checking if you’re on the new Shopify admin surface that’s been rolling out, it looks like the loading bar rendering may have changed or been dropped as part of that update. The API technically still exists but might no longer have a visual component attached to it in the new admin.
In the meantime if you need a visible loading indicator the ui-title-bar loading prop or a Polaris Loading component inside the app frame are more reliable alternatives that aren’t tied to the App Home Loading API specifically:
import { Loading } from '@shopify/polaris';
// Render conditionally based on your loading state
{isLoading && <Loading />}
And yeah since this broke last week out of nowhere I’d ping Shopify support directly, something changed on their end.
It’s helpful to hear that others are observing the same behavior, so thank you for confirming.
In my case, I’m using Polaris Web Components, not Polaris React, so the component from @shopify/polaris isn’t available in my setup.
In the meantime, since my app is built with Next.js, I’m planning to use NProgress as an alternative loader (triggered on route changes and async actions) until shopify.loading() behavior is fixed on Shopify’s side. This approach should at least provide users with a visible loading indicator.
If anyone has other recommendations or has implemented a loading indicator in an embedded app using Polaris Web Components or other means, please let me know. I’d really appreciate the suggestions.