okay, thanks for your comments guys!
I think that
react-helmet should handle the duplicates just fine. As far as I can tell, it should override the previous tag if we add another one with the same type and props. And even if the DOM is updated with a new script tag that should not trigger loading the script as far as I understand. I will test it though
Thanks for digging up the issues @SantosGuillamot That clears things up