-
Notifications
You must be signed in to change notification settings - Fork 84
docs: translate tutorial: tic tac toe #437
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
docs: translate tutorial: tic tac toe #437
Conversation
Size changes📦 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! 🙌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ciao Mattia! 😄
Ho provato a scrivere una review, magari è di aiuto 🙂
@@ -2509,7 +2509,7 @@ function handlePlay(nextSquares) { | |||
} | |||
``` | |||
|
|||
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
@@ -1155,27 +1155,27 @@ export default function Board() { | |||
} | |||
``` | |||
|
|||
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à: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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à: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ciao @Ago95Dev, su questo non sono sicuro, terrei lo stesso casing della versione originale. Cosa ne pensi? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
Co-authored-by: Agostino D'Agostino <[email protected]>
Co-authored-by: Agostino D'Agostino <[email protected]>
Co-authored-by: Agostino D'Agostino <[email protected]>
Co-authored-by: Agostino D'Agostino <[email protected]>
Co-authored-by: Agostino D'Agostino <[email protected]>
Ciao Agostino 😄 Grazie mille per le suggestions! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Translate "Tutorial: Tic Tac Toe"
Part of #418