Why does the scriptTag only support the onload event? This post is outdated
I don't understand this. Shopify's documentation claims that it's ever so easy and dandy to use scripttag to use JS to modify the template output through a shopify App and that protects the templates files from being messed up with for when the end user might uninstall your app.
Now, why isn't document ready not available as an option here? What's the point of using onload so that the DOM just sits there, looking like what it SHOULDN'T look like (to the user) before the DOM modifying scripts take control on onload?
How am I supposed to stop the elements from appearing to the end user BEFORE the JS is able to modify it to the form that I need him to see?