title: App hangs when adding a large number of documents to Firestore (e.g. 1000+ documents) at once
body: <p>I am trying to allow a user to mass add a bunch of documents to Firestore from the client side. It works fine when there aren't that many documents but when there a ton (e.g. 1000+ documents), it adds all of the documents and then just hangs. If I close and then reopen the app, I see that all of the documents have been added as desired.</p>
  <p>I am adding each document one by one using the following:</p>
  <pre><code>self.collection.document(noteID).setData(record.dictionary)
  </code></pre>
  <p>Is there a reason why this would hang after mass adding a bunch of documents but work fine on smaller sets? Is there a way to batch add a bunch of documents to Firestore so that they don't hang?</p>