[Embedded App] Is re-rendering on first load expected behaviour? #9194
-
When using the default node template https://github.com/Shopify/shopify-app-template-node/ if I set it up with WDYR as in here: welldone-software/why-did-you-render#243 (comment) I'm getting: As soon as the app loads in the shop's admin, is this expected behaviour? |
Beta Was this translation helpful? Give feedback.
Answered by
TheSecurityDev
May 18, 2023
Replies: 2 comments 3 replies
-
Not sure if related or not, but any time my app loads via the test shop admin, there's a cancelled request to my apps url: What's curious is the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've seen this too. Basically it loads all the apps that are pinned on the navigation menu whenever the Shopify admin is loaded. It includes a query parameter
prefetch=1
, so I just handle requests with that parameter as 200 OK to improve performance.