Reactjs – React merges useState calls into a single render
I try to report to the user the progress of the promise execution. The problem I'm encountering is that React seems to be merging my setState calls into a single render. When I click start, it flashes 0 / 5…