I am currently downloading a file via an S3 pre-signed url like so:
window.location.href = result.data.downloadUrl;
the only thing I can find to do such a thing is this post:
https://stackoverflow.com/a/56195387/904278
but I don't love the approach of clicking programatically.
Is there a better way?