Found weird issue with order of polaris / app bridge scripts.
If I have (polaris first):
<script src="https://cdn.shopify.com/shopifycloud/polaris.js"></script>
<script src="https://cdn.shopify.com/shopifycloud/app-bridge.js"></script>
Then everything works just fine, but I see the warning in the Chrome Dev Console:
The script tag loading App Bridge should be the first script tag in the document. Loading other blocking scripts first can cause unexpected behavior.
If I switch the order to app-bridge first:
<script src="https://cdn.shopify.com/shopifycloud/app-bridge.js"></script>
<script src="https://cdn.shopify.com/shopifycloud/polaris.js"></script>
This breaks some features in my app, specifically s-select in the app bridge Modal:
I’m using Modal from @shopify/app-bridge-react as I need proper react logic inside the modal.
I guess this issue is not critical as “app-bridge first” message was just a warning in the console, but maybe it will be helpful to somebody to experiment with order of polaris/app-bridge in their apps.

