title: How can i get the progress each of the files upload with firebase?
body: <p>i have this code to upload files to firebase database</p>
  <pre><code>export const upload = (
    name
  ) =&gt; {
    return new Promise((resolve, reject) =&gt; {
      try {
        const ref = firebaseApp.storage()
        ref
          .put(file)
          .then(snapshot =&gt; {
  </code></pre>
  <p>how can i get the progress each of the files? because i need to know the progress to display in a progressBar</p>