O'Reilly logo

React Native By Example by Richard Kho

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a standard ListView

The next step is to take the data received from the Graph API and render it into the view.

Right now, the feed array in the App component state contains 25 objects. Each object contains the following key-value pairs:

  • created_time: This is the date and time this post was made
  • id: This is an identifier that will let us grab the details of the post
  • story: This an optional post description that adds context, such as whether the post contained a location-based check-in, whether it was a shared memory or link, and so on
  • message: This an optional message that the user personally wrote for this post

Each post contains several edges, just like a node on a graph data structure. For Friends, we will access these following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required