Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core Components Tutorial to ES6 (master) #8213

Closed
wants to merge 1 commit into from
Closed

Core Components Tutorial to ES6 (master) #8213

wants to merge 1 commit into from

Conversation

Ehesp
Copy link
Contributor

@Ehesp Ehesp commented Jun 18, 2016

Same changes as the previous PR (#8198), but on the master branch as requested.

Same changes as the previous PR (#8198), but on the master branch as requested.
@facebook-github-bot
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @JoelMarcey and @stevemao to be potential reviewers.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jun 18, 2016
@JoelMarcey
Copy link

@Ehesp Hey! Sorry about this, but I broke up the core component tutorial into separate pieces. So now ListView is in its own document Basics-Component-ListView.md. Can you rebase and change the code in that file instead?

var ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
return {
dataSource: ds.cloneWithRows(['John', 'Joel', 'James', 'Jimmy', 'Jackson', 'Jillian', 'Julie'])
constructor() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should you include props to your constructor call?

constructor(props) {
  super(props);
  ...
}

@JoelMarcey
Copy link

I created a new pull request on the latest work that converted ListView to ES6.

#8370

I am going to close this one out for now. Let me know if you have any questions.

Thanks!

@JoelMarcey JoelMarcey closed this Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants