I am building a react app and would like to use promises to upload files to my database. When the user navigates away from this page and moves to other pages, if there is a pending promise, does it continue despite the page changes? If I were to store my file objects in a global state, can the promise continue executing despite a page change?