sampl / firefly

Web app boilerplate for beginners based on Firebase and React 🔥
http://getfirefly.org/
234 stars 42 forks source link

Try saving refs as refs, not string ids #147

Closed sampl closed 5 years ago

sampl commented 5 years ago

What's the advantage here? More semantic I guess. user is a db ref to a real user, string ids should be userId probably. Could also just use "userId" etc instead...

sampl commented 5 years ago

Closing in favor of #153