1 year ago

Axios.get blocks page load? (newbie question)

Posted 1 year ago by heykatieben

Hi - this is one of those questions where I don't know exactly what I don't know / what to Google. I'm doing an axios.get call, and you can't interact with the page (what php rendered) until the axios.get call returns / does its thing. I'm wanting to be able to interact with the page before javascript finishes, as the javascript is doing something in the header that I don't necessary need before taking an action on the rest of the page.

I think I'm looking for some kind of asynchronous something, but - what? What am I missing?


Please sign in or create an account to participate in this conversation.