Hi,
We are a bit confused about the documentation related to Modal. it says in Polaris Modal section in the documentation that we need to use @Shopify_77 /app-bridge-react for embedded apps (we assume that is instead of using Modal from @Shopify_77 /polaris or one from the @Shopify_77 /app-bridge).
Deprecation rationale> > As of v3.17.0, usingModalin an embedded app is deprecated. Support for this will be removed in v5.0 as the underlying Shopify App Bridge library will be removed from Polaris React. Learn more about thedeprecation rationale. UseModalfrom@shopify/app-bridge-reactinstead
but when we tried to implement the @Shopify_77 /app-bridge-react Modal, we had issues:
1. the Provider component doesn’t let us use localhost to develop (since it tries to redirect the app to the host/admi/apps/key endpoint)
2. We tried to look at what is doing by going to npm to dig deeper into the code, but the repo link is broken and can’t investigate. I looked for the repo directly in the Shopify org github, but no luck.
This is how we are using it and doesn’t let us run app locally.
return (
)
Our requests are:
1. If we were recommended to use @Shopify_77 /app-bridge-react Modal, the documentation should have more details on how this library is intertwined with other libraries such as @Shopify_77 /app-bridge and @Shopify_77 /polaris. or more details about why Provider is needed when app-bridge already instantiates the app and polaris has its own AppProvider as well.
2. Also, we should be able to look at the Github repo and code to investigate especially if it’s on npm.
3. Please let us know the best way to create a modal for an embedded apps.

