docs: translate tutorial: tic tac toe#437
Merged
deblasis merged 9 commits intoreactjs:mainfrom May 28, 2023
Merged
Conversation
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Ago95Dev
reviewed
May 21, 2023
| ``` | ||
|
|
||
| Finally, you will modify the `Game` component to render the currently selected move, instead of always rendering the final move: | ||
| Infine, modificherai il componente `Gioco` per eseguire il rendering della mossa attualmente selezionata, invece di eseguire sempre il rendering della mossa finale: |
Contributor
There was a problem hiding this comment.
Suggested change
| Infine, modificherai il componente `Gioco` per eseguire il rendering della mossa attualmente selezionata, invece di eseguire sempre il rendering della mossa finale: | |
| Infine, modificherai il componente `Game` per eseguire il rendering della mossa attualmente selezionata, invece di eseguire sempre la renderizzazione della mossa finale: |
| ``` | ||
|
|
||
| Next, you will need to pass that `i` to `handleClick`. You could try to set the `onSquareClick` prop of square to be `handleClick(0)` directly in the JSX like this, but it won't work: | ||
| Successivamente, dovrai passare quella `i` a `handleClick`. Potresti provare a impostare la prop `onSquareClick` di square in modo che sia `handleClick(0)` direttamente nel JSX in questo modo, ma non funzionerà: |
Contributor
There was a problem hiding this comment.
Suggested change
| Successivamente, dovrai passare quella `i` a `handleClick`. Potresti provare a impostare la prop `onSquareClick` di square in modo che sia `handleClick(0)` direttamente nel JSX in questo modo, ma non funzionerà: | |
| Successivamente, dovrai passare quella `i` a `handleClick`. Potresti provare a impostare la prop `onSquareClick` di Square in modo che sia `handleClick(0)` direttamente nel JSX in questo modo, ma non funzionerà: |
Collaborator
Author
There was a problem hiding this comment.
Ciao @Ago95Dev, su questo non sono sicuro, terrei lo stesso casing della versione originale. Cosa ne pensi? :)
Contributor
There was a problem hiding this comment.
Non ho capito il minuscolo nell'originale, riferito a Square nell'esempio sotto 😅
In ogni caso, sono d'accordo, meglio lasciare lo stesso casing per coerenza 😃
Co-authored-by: Agostino D'Agostino <agostino.dagostino.developer@gmail.com>
Co-authored-by: Agostino D'Agostino <agostino.dagostino.developer@gmail.com>
Co-authored-by: Agostino D'Agostino <agostino.dagostino.developer@gmail.com>
Co-authored-by: Agostino D'Agostino <agostino.dagostino.developer@gmail.com>
Co-authored-by: Agostino D'Agostino <agostino.dagostino.developer@gmail.com>
Co-authored-by: Agostino D'Agostino <agostino.dagostino.developer@gmail.com>
Collaborator
Author
Ciao Agostino 😄 Grazie mille per le suggestions! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Translate "Tutorial: Tic Tac Toe"
Part of #418