P
P
Persotr272021-07-06 11:42:59
typescript
Persotr27, 2021-07-06 11:42:59

How to push only some properties of firestore collection documents into redux?

Good afternoon.
I have a collection in the firestore that contains documents of the same structure (composition of object properties). In my react application, I want to get the documents of this collection and push them into an array in redux. But, I do not need all the properties of objects, but only some. SQL has a great SELECT word for this, but it's missing here. How can the desired effect be achieved?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question