title: React Native + Firebase CLI - Accessing Data
body: <p>I am attempting to access the "Name" attribute of a user using the Firebase Database. I created a custom Database through the use of the Firebase CLI and it looks like this:</p>
  
  <pre><code>{
   "111" : {
  "Email" : "example@email.com",
  "Name" : "Jane Doe"
   },
    "222" : {
  "Email" : "example2@email.com",
  "Name" : "John Doe"
    }
  }
  </code></pre>
  
  <p>In my code, I attempt to access the data based on who is logged in by making a call to </p>
  
  <pre><code>firebase.database().ref(`/users/${currentUser.uid}/`) 
  </code></pre>
  
  <p>inside the UserActions.js file. </p>
  
  <p>and I fetch the data via the componentWillMount() inside the WelcomePage.js, but the payload comes back as null. </p>
  
  <p><a href="https://github.com/joshualavers/rockwater_appFINAL" rel="nofollow noreferrer">https://github.com/joshualavers/rockwater_appFINAL</a></p>
  
  <p>Any ideas are welcome, as this truly has me stumped</p>