Hi, this is more of a question than an issue but I was wondering if it was possible to load the script after the window has loaded or DOM has loaded on the page.
I technically can put an event handler (like DOM, window loaded etc) in componentDidMount on my component but this kinda becomes an issue when we're using stateless components.
It'd be nice if react-async-script-loader actually supported this natively. Any thoughts?
Hi, this is more of a question than an issue but I was wondering if it was possible to load the script after the window has loaded or DOM has loaded on the page.
I technically can put an event handler (like DOM, window loaded etc) in
componentDidMount
on my component but this kinda becomes an issue when we're using stateless components. It'd be nice ifreact-async-script-loader
actually supported this natively. Any thoughts?