Rick Chin
ย ยทย Aspiring to build software that people will love

Is there no way to loop through docs in Firestore or items in list?

I need to create Action Blocks that will loop through db documents and items in lists. But I can't find any clean way to do this. Ideal solution would be a ForEach loop. The next best solution would be to have "Action Block State Variables" so that the existing loop functionality could be used. Neither of these exists.

The closest solution seems to be the use of App or Component State Variables. I can't use Component level variables since I don't want to limit these Action Blocks to a specific component. Using an App State Variable is generally a bad practices which will likely result in hard to track down landmines in my app.

I hope that I am missing something, and there is an existing solution to my need. Suggestions?

Thanks in advance, Rick

1
2 replies