A place to discuss charging merchants for your apps and services using the billing API.
I was trying to use the useEffect hook to add an event listener in my app._index.tsx file, but I couldn't figure out why the side effect wasn't being triggered when the app started. I suspect it's due to Server Side Rendering (SSR), which would prevent hooks or the window object from being used.
I've set it up based on the Shopify-app-template-remix.
Thank you for your assistance.