Uh oh!
There was an error while loading. Please reload this page.
docs: translate tutorial: tic tac toe - #437
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! 🙌 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| ``` | ||
| 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.
| 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à: |
There was a problem hiding this comment.
| 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.
Ciao @Ago95Dev, su questo non sono sicuro, terrei lo stesso casing della versione originale. Cosa ne pensi? :)
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>
mattia-sanfilippo
commented
May 23, 2023
Ciao Agostino 😄 Grazie mille per le suggestions! |
Translate "Tutorial: Tic Tac Toe"
Part of #418