-
Notifications
You must be signed in to change notification settings - Fork 50.3k
Update tutorial.md #9531
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
Update tutorial.md #9531
Conversation
- remove function scope that not needed - don't have access to code pen though.
|
@brigand Can you look at this? |
|
@exiadbq thanks! I added these changes to the main tutorial PR. I'm not sure how to give you credit for the commit. |
|
@brigand nps, didn't know there was PR for that, otherwise I can commit there. Closing this one for now. |
* tutorial: adds note about onClick * tutorial: show full square component * merge * fixes line number * tutorial: misc changes * fixes Board render initial code sample * [tutorial] adds codepen links and misc small fixes * removes useless arrow functions, #9531 * {this.renderSquare} new lines * be more explicit about history state * fixes highlight * following along locally * changes todo to this.props.value * removes calculateWinner from initial codepens and includes it in tutorial * removes note about calculateWinner at end of file * adds debug-view and debug-view-final * removes debug view, updates codepen instructions * adds another codepen * tutorial.md * tutorial.md * tutorial.md * tutorial.md * Put . into links for consistency with docs * Make the very first change easier to follow * A few more changes
* tutorial: adds note about onClick * tutorial: show full square component * merge * fixes line number * tutorial: misc changes * fixes Board render initial code sample * [tutorial] adds codepen links and misc small fixes * removes useless arrow functions, #9531 * {this.renderSquare} new lines * be more explicit about history state * fixes highlight * following along locally * changes todo to this.props.value * removes calculateWinner from initial codepens and includes it in tutorial * removes note about calculateWinner at end of file * adds debug-view and debug-view-final * removes debug view, updates codepen instructions * adds another codepen * tutorial.md * tutorial.md * tutorial.md * tutorial.md * Put . into links for consistency with docs * Make the very first change easier to follow * A few more changes (cherry picked from commit e9d6f3f)
|
Hi @gaearon what was your consideration not including this change?
|
|
Can you send another PR on top of the current changes, and I’ll take a look? Thanks! |
* tutorial: adds note about onClick * tutorial: show full square component * merge * fixes line number * tutorial: misc changes * fixes Board render initial code sample * [tutorial] adds codepen links and misc small fixes * removes useless arrow functions, #9531 * {this.renderSquare} new lines * be more explicit about history state * fixes highlight * following along locally * changes todo to this.props.value * removes calculateWinner from initial codepens and includes it in tutorial * removes note about calculateWinner at end of file * adds debug-view and debug-view-final * removes debug view, updates codepen instructions * adds another codepen * tutorial.md * tutorial.md * tutorial.md * tutorial.md * Put . into links for consistency with docs * Make the very first change easier to follow * A few more changes (cherry picked from commit e9d6f3f)
Before submitting a pull request, please make sure the following is done:
master.npm test).npm run lint).npm run prettier).npm run flow)../scripts/fiber/record-testsbefore submitting the pull request, and commit the resulting changes.