React Component in Shopify : Element type is invalid: expected a string (for built-in components) or a class/function (for composite components)
I trying to use react-phone-input-2 in my shopify remix app.
ReactJS Script Function Not Exporting in Shopify Theme Extension
We are building an app in Shopify that has a button on product page that when pressed it opens a modal window. The button displays, the scritpt is loaded (console Network) but the handler for the button cannot find the function. It’s exported and the function is called in the app block for the theme extension.