Ivan Todorov
 · Founder at ✨ Vibes + Logic 🤖

Building a Favorites List from references stored as a Firebase Authenticated User property holding document references.

Hey there, I'm following along the live stream and trying to figure out why I'm not getting the nice Firebase document properties so I can easily map the document properties to my UI.


In my case the favorite_lumens list is an Authenticated User property referencing "Lumen" documents from a Lumens collection in Firebase:

Seems every way I try to wire the UI I'm not able to access the document properties for each item, unless I execute a separate backend call for each favorite Items, which seems inefficient.

So the question is, what's the best way to setup the backend calls and UI to populate a list of favorite items from a Firebase Authenticated user? Thx for your help!

1
3 replies