How do I update a single Firestore document <list> field with all items from a component state <list>.
For example, I have an in memory list (component state) which the user adds items to... then when ready that click [Add] at which point I want to add all items in the state <list> to the Firestore <list> field.
I can see how to add a single item, but not update a document <list> field with a state <list>.
Thank you.
Add multiple items from another
Resolved
1
4 replies