I'm trying to adapt the 'Build a Shopify app with Node.js and Express' tutorial, to add a chat widget to the shopify store.
I've successfully been able to add a new script tag to my page.
Is there a generally accepted way to (1) load all relevant libraries into the scripttag e.g. React (2) add widgets to the page?
Specifically I'm trying to insert the chat widget from this tutorial into a shopify store.
If anyone could point me in the right direction (e.g. is there a minimal example of even just loading a div into a page via a script tag, or is there a way I can quickly prototype without adding/deleting script tags?) I would greatly appreciate it!