April 2017
Intermediate to advanced
414 pages
8h 14m
English
Next, we have to update FeedListRow to do the following:
I created the propsObject to store the object assigned to passProps so that I did not have to rewrite it for a second time:
// Friends/app/components/FeedListRow/index.js
...
import {
Platform,
...
} from 'react-native';
...
export default class FeedListRow extends Component {
...
_navigateToPostView () {
const propsObject = {
createdTime: this.props.createdTime,
message: this.props.message,
postID: this.props.postID,
story: this.props.story
};
Here we look at conditional logic for iOS: ...
Read now
Unlock full access