I am integrating different third paty tools with my project say newrelic, branchIO etc.., I am loading all of its js in the window object.
Currently i am trying to use one of the internationalization libraries. I have 2 plans. 1)To load the (en/es)translation-keys.json (a file which has key value pairs where values are the texts in corresponding languages) on window object. 2)To load the file in my application's globalState.
Also i have plans to add more 3rd party tools which would be loaded in the window object in future.
My question is, Will overloading browser's window object with many files cause performance issue? If it is so, is there any other way to improve the performance?