I wanna to use a custom theme in my react app
that has two class added to head tag like this x.js & y.js
Slso there is main.js that added to bottom of body tag
when called functions inside main.js after componendDidMount() in App.tsx.
Sometime couldn't find the classes that created in for example x.js but some times that found?
In short a want to call some functions in external .js files after entire page were loaded is it possible in React?
I mean how access an object in an external script from other In here an object exist in x.js and I want call it from main.js