June 2016
Intermediate to advanced
910 pages
18h 59m
English
Now that the post list component is prepared, it needs to be added to the user view (profile).
The post list component is added to the user view to display the user's posts on their profile page. This fleshes out the user view into a more interesting destination. The user view is reached when someone clicks on a user profile in other parts of the app.
Here's what the user view looks like with their posts included:

The user view (profile page)
Here is the user view source with a list of posts added:
File: js/views/users/view.jsx
import React from 'react'; import UserView from 'appRoot/components/users/view'; import PostList ...
Read now
Unlock full access