I’m working on a React.js application, i have a loop from j=1 to j=2000 and i want to download a zip file when j=1 or j=2000. The problem is that the two zip files downloaded at the same time after the end of the loop. in other words the download of the two zip starts when j = 2000. I