You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find any information about why the Modal component is listed under the deprecated category.
Is there a specific reason for this, or is there a replacement component that we should use instead?
Thanks!
The text was updated successfully, but these errors were encountered:
@Lazerproof We also don't know why, we're just putting modal into deprecated category to the same as Shopify structure.
As I understand and research from Shopify, they want us to use the native Modal of AppBridge library instead of manual modal of Polaris.
But seems like the AppBridge Modal has many bugs then they keep this modal in deprecated category until now.
It seems that AppBridge is Shopify-dependent and the rendering is handled by Shopify platform as stated here. Is there any way to use it like a local component? Otherwise the deprecated Modal is the only option here when building standalone apps.
I thought Polaris wasn't tightly coupled with the platform and it's totally possible to build something completely unrelated to Shopify with it. The deprecation of the Modal component only is quite confusing.
We still support Polaris Modal for complex cases, which can be used locally. However, for local development, we prefer to build it within Shopify Admin to utilize App Bridge.
And for the reason why Shopify has deprecated the Modal, please refer to this link for more information.
Hi.
I couldn't find any information about why the Modal component is listed under the deprecated category.
Is there a specific reason for this, or is there a replacement component that we should use instead?
Thanks!
The text was updated successfully, but these errors were encountered: