Environment
- @shopify/shopify-app-react-router: ^1.2.0
- react-router: ^7.12.0
- @shopify/app-bridge: ^3.7.11
- @shopify/app-bridge-react: ^4.2.4
- @react-router/node: ^7.12.0
Problem
After 3-10 repeated mutations via useFetcher in an embedded Shopify app,
the iframe shows a white "200" page and becomes unresponsive.
Log pattern after every mutation:
POST /_root.data? 202
GET /auth/session-token.data? 200
After several mutations, session-token.data is rendered as a document
instead of a fetch, causing the white "200" page.
Already tried
- useFetcher instead of useSubmit
- No navigate/reload after mutations
- List updated from local state only
- lastHandledTs ref to avoid double execution
- preventDefault/stopPropagation on Enter key
Nothing resolves — appears to be internal to the package.
Is there a known fix or recommended version?
Environment
Problem
After 3-10 repeated mutations via useFetcher in an embedded Shopify app,
the iframe shows a white "200" page and becomes unresponsive.
Log pattern after every mutation:
POST /_root.data? 202
GET /auth/session-token.data? 200
After several mutations, session-token.data is rendered as a document
instead of a fetch, causing the white "200" page.
Already tried
Nothing resolves — appears to be internal to the package.
Is there a known fix or recommended version?