This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Aalok Trivedi
Posted Jul 25 - Read on Facebook

I’m trying to learn firebase (total noob) so I can populate data into a loop (database of users with names, email, location, etc…). I tried following the tutorial by Marc Krenn but I realized his use-case isn’t really what I want (i think?). I already have the database imported in my firebase project. What’s the best way to go about getting those values and plugging them into my loop?

1 Comments

Derek Nguyen

You're very close, just need to populate your layer after you got the data from firebase.get. I think there're a few ways to go about and do this, but one simple way is to move your `for...` loop inside the callback of firebase.get (so you can use the `users` array that firebase return to you) and use the `users` array instead. See https://framer.cloud/HETrG

Read the entire post on Facebook