Skip to content

Up for grabs: Create an example of the Firebase "key" property #54

@LearningNerd

Description

@LearningNerd

⭐️ This challenge is up for grabs! Claim it by clicking "assign yourself" on the right, under the "Assignees" section for this GitHub issue! You can work on this by yourself or in pairs.

✔️ To complete this challenge: Post a comment at the bottom of this page with some instructions and sample code, so the rest of our team can learn how to use this new Firebase property by reading your comment!

You can edit your comment at any point to update your answer, so you don't have to do these all at once! To edit your comment after you publish it, click the pencil icon in the top right corner of your comment:
github-edit-comments

If you have any questions, please post a comment at the bottom of this page! (You can also ask us on Slack, but please post a comment here too so we can more easily reference it later.)

About the Firebase key property

📚 Official documentation: Firebase API section on the key property

Every database Reference object in Firebase has a key, except for the root of the database.

Your challenge

🏆 The goal: learn how this property works, test it out for yourself, and then post a comment at the bottom of this page with some instructions and sample code to help teach the rest of our team!

Questions to keep in mind:

  • What does the official documentation say about this property ?
  • When would we need to use this property ? What are some example use cases? (Write some sample code for us, please!)
  • When should we not use this property ? Can you think of any scenarios where using this property would cause errors or unintended side effects?
  • What data types can be stored as values of this property?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions