Bug in default Remix JS app template — first action after install doesn't work

Hey all,

I’m using shopify app init to scaffold a new Remix app with the JavaScript template. I haven’t changed anything in the generated code.

After installing the app on a development store, I open it and click the “Generate a product” button on the landing page. But instead of seeing a product created, I just get a “Handling response…” message.

If I refresh the page and try again, it works perfectly — the product is created and everything behaves normally.

This happens consistently on first load right after install. I haven’t modified the template code at all. Any idea why this happens or how to prevent/fix it?