Testing a custom change to Shopify Tutorial

New Member
2 0 0

Hi, I'm trying my skills at doing something that I thought would be quite easy and now have spent hours trying to figure out. For context, I did the tutorial at the link below but now I want to try to make some changes to it and test out other components of Polaris and the App Bridge (which I'm still trying to differentiate).

Tutorial - https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react

In the tutorial there is the index.js file and I would like to display a button below the products that are displayed to clear all products (that are contained in the store.js thing). I tried adding a button component but it kept giving me an error and I can't understand if I need to use the App Bridge button or the Polaris button. Neither seem to work. Can someone guide me in the right direction?

I'm sorry if I sound like a total idiot but I kind of am, this is just a hobby for me and appreciate any help.

0 Likes