{mode: 'no-cors'}
but since it's a remote URL it doesn't give me a response.
12:50 PM
1 hour later…
2:02 PM
2:15 PM
I'm interacting with a 3rd party service. In order to use this service, we have a configuration script. This configuration script gets regularly updated via cronjob. So this script, needs to retrieve the configuration script and embed it into the page. Since my script requires this service, and this service requires the configuration, I created promises to prevent further action through out the script.
a configuration script? Is this just JSON? If the problem is making sure a script is present and loaded before doing something else, then why all this dynamic loading and fetching it with JS?
2:38 PM
3:16 PM
I gathered, but I don't understand what that has to do with you fetching it via JS and loading it into the DOM to bypass CORS
maybe i'm misunderstanding? You need to run React after this 3rd party script has ran correct? And that's the cause of all this extra complexity that's being added?
3:37 PM
I'm trying to bundle this functionality into a react component, so when I build this app, it's only one script to enqueue.
otherwise you're describing making a request to check if it's there then doing the same request again
just request it, and handle the failure the way you would if it wasn't there, and save the double request
4:09 PM
2 hours later…
6:06 PM
Anyway, the important question. Is this an election to fill in shoes of a current mod who is stepping down, or is the team growing?
« first day (3084 days earlier) ← previous day next day → last day (1860 days later) »