diff --git a/src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md b/src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md
index 002dae2a9..7fe3fef9b 100644
--- a/src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md
+++ b/src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md
@@ -1,17 +1,24 @@
---
-title: "React Labs: What We've Been Working On – February 2024"
+title: "React Labs: su cosa stiamo lavorando – febbraio 2024"
author: Joseph Savona, Ricky Hanlon, Andrew Clark, Matt Carroll, and Dan Abramov
date: 2024/02/15
-description: In React Labs posts, we write about projects in active research and development. We’ve made significant progress since our last update, and we’d like to share our progress.
+description: Nei post React Labs scriviamo dei progetti in ricerca e sviluppo attivi. Abbiamo fatto progressi significativi dall'ultimo aggiornamento e vogliamo condividerli.
+translationStatus: ai-draft
---
-February 15, 2024 by [Joseph Savona](https://twitter.com/en_JS), [Ricky Hanlon](https://twitter.com/rickhanlonii), [Andrew Clark](https://twitter.com/acdlite), [Matt Carroll](https://twitter.com/mattcarrollcode), and [Dan Abramov](https://bsky.app/profile/danabra.mov).
+15 febbraio 2024 di [Joseph Savona](https://twitter.com/en_JS), [Ricky Hanlon](https://twitter.com/rickhanlonii), [Andrew Clark](https://twitter.com/acdlite), [Matt Carroll](https://twitter.com/mattcarrollcode) e [Dan Abramov](https://bsky.app/profile/danabra.mov).
---
+
+
+Questa pagina è stata tradotta automaticamente e supervisionata da un maintainer. Un'ulteriore revisione da parte della community sarebbe comunque utile. [Migliora questa traduzione](https://github.com/reactjs/it.react.dev/edit/main/src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md).
+
+
+
-In React Labs posts, we write about projects in active research and development. We’ve made significant progress since our [last update](/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023), and we’d like to share our progress.
+Nei post React Labs scriviamo dei progetti in ricerca e sviluppo attivi. Abbiamo fatto progressi significativi dall'[ultimo aggiornamento](/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023) e vogliamo condividerli.
@@ -19,26 +26,26 @@ In React Labs posts, we write about projects in active research and development.
## React Compiler {/*react-compiler*/}
-React Compiler is no longer a research project: the compiler now powers instagram.com in production, and we are working to ship the compiler across additional surfaces at Meta and to prepare the first open source release.
+React Compiler non è più un progetto di ricerca: il compiler ora alimenta instagram.com in produzione e stiamo lavorando per distribuirlo su altre superfici in Meta e per preparare il primo rilascio open source.
-As discussed in our [previous post](/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-optimizing-compiler), React can *sometimes* re-render too much when state changes. Since the early days of React our solution for such cases has been manual memoization. In our current APIs, this means applying the [`useMemo`](/reference/react/useMemo), [`useCallback`](/reference/react/useCallback), and [`memo`](/reference/react/memo) APIs to manually tune how much React re-renders on state changes. But manual memoization is a compromise. It clutters up our code, is easy to get wrong, and requires extra work to keep up to date.
+Come discusso nel nostro [post precedente](/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-optimizing-compiler), React può *a volte* renderizzare troppo quando lo state cambia. Fin dai primi giorni di React la nostra soluzione per questi casi è stata la memorizzazione manuale. Nelle API attuali, questo significa applicare [`useMemo`](/reference/react/useMemo), [`useCallback`](/reference/react/useCallback) e [`memo`](/reference/react/memo) per regolare manualmente quanto React renderizza al cambiamento dello state. Ma la memorizzazione manuale è un compromesso. Appesantisce il codice, è facile sbagliare e richiede lavoro extra per restare aggiornata.
-Manual memoization is a reasonable compromise, but we weren’t satisfied. Our vision is for React to *automatically* re-render just the right parts of the UI when state changes, *without compromising on React’s core mental model*. We believe that React’s approach — UI as a simple function of state, with standard JavaScript values and idioms — is a key part of why React has been approachable for so many developers. That’s why we’ve invested in building an optimizing compiler for React.
+La memorizzazione manuale è un compromesso ragionevole, ma non ci accontentavamo. La nostra visione è che React *automaticamente* renderizzi solo le parti giuste dell'UI quando lo state cambia, *senza compromettere il modello mentale di React*. Crediamo che l'approccio di React — UI come semplice funzione dello state, con valori e idiomi JavaScript standard — sia una parte fondamentale del perché React sia stato accessibile a così tanti sviluppatori. Per questo abbiamo investito nella costruzione di un compiler ottimizzante per React.
-JavaScript is a notoriously challenging language to optimize, thanks to its loose rules and dynamic nature. React Compiler is able to compile code safely by modeling both the rules of JavaScript *and* the “rules of React”. For example, React components must be idempotent — returning the same value given the same inputs — and can’t mutate props or state values. These rules limit what developers can do and help to carve out a safe space for the compiler to optimize.
+JavaScript è un linguaggio notoriamente difficile da ottimizzare, grazie alle sue regole permissive e alla natura dinamica. React Compiler riesce a compilare codice in sicurezza modellando sia le regole di JavaScript *sia* le "regole di React". Ad esempio, i componenti React devono essere idempotenti — restituire lo stesso valore a parità di input — e non possono mutare props o valori dello state. Queste regole limitano ciò che gli sviluppatori possono fare e aiutano a definire uno spazio sicuro in cui il compiler può ottimizzare.
-Of course, we understand that developers sometimes bend the rules a bit, and our goal is to make React Compiler work out of the box on as much code as possible. The compiler attempts to detect when code doesn’t strictly follow React’s rules and will either compile the code where safe or skip compilation if it isn’t safe. We’re testing against Meta’s large and varied codebase in order to help validate this approach.
+Naturalmente, capiamo che gli sviluppatori a volte piegano un po' le regole, e il nostro obiettivo è far funzionare React Compiler out of the box su quanto più codice possibile. Il compiler tenta di rilevare quando il codice non segue rigorosamente le regole di React e compilerà il codice dove è sicuro o salterà la compilazione se non lo è. Stiamo testando contro il codebase ampio e vario di Meta per aiutare a validare questo approccio.
-For developers who are curious about making sure their code follows React’s rules, we recommend [enabling Strict Mode](/reference/react/StrictMode) and [configuring React’s ESLint plugin](/learn/editor-setup#linting). These tools can help to catch subtle bugs in your React code, improving the quality of your applications today, and future-proofs your applications for upcoming features such as React Compiler. We are also working on consolidated documentation of the rules of React and updates to our ESLint plugin to help teams understand and apply these rules to create more robust apps.
+Per gli sviluppatori curiosi di assicurarsi che il loro codice segua le regole di React, consigliamo di [abilitare Strict Mode](/reference/react/StrictMode) e [configurare il plugin ESLint di React](/learn/editor-setup#linting). Questi strumenti possono aiutare a individuare bug sottili nel codice React, migliorando la qualità delle applicazioni oggi e preparandole per funzionalità future come React Compiler. Stiamo anche lavorando a documentazione consolidata delle regole di React e ad aggiornamenti del nostro plugin ESLint per aiutare i team a capire e applicare queste regole per creare app più robuste.
-To see the compiler in action, you can check out our [talk from last fall](https://www.youtube.com/watch?v=qOQClO3g8-Y). At the time of the talk, we had early experimental data from trying React Compiler on one page of instagram.com. Since then, we shipped the compiler to production across instagram.com. We’ve also expanded our team to accelerate the rollout to additional surfaces at Meta and to open source. We’re excited about the path ahead and will have more to share in the coming months.
+Per vedere il compiler in azione, puoi guardare il nostro [talk dell'autunno scorso](https://www.youtube.com/watch?v=qOQClO3g8-Y). Al momento del talk, avevamo dati sperimentali precoci dal provare React Compiler su una pagina di instagram.com. Da allora, abbiamo distribuito il compiler in produzione su tutto instagram.com. Abbiamo anche ampliato il team per accelerare il rollout su altre superfici in Meta e verso l'open source. Siamo entusiasti del percorso davanti a noi e avremo altro da condividere nei prossimi mesi.
## Actions {/*actions*/}
-We [previously shared](/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components) that we were exploring solutions for sending data from the client to the server with Server Actions, so that you can execute database mutations and implement forms. During development of Server Actions, we extended these APIs to support data handling in client-only applications as well.
+Abbiamo [condiviso in precedenza](/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components) che stavamo esplorando soluzioni per inviare dati dal client al server con Server Actions, così da eseguire mutazioni del database e implementare form. Durante lo sviluppo delle Server Actions, abbiamo esteso queste API per supportare la gestione dei dati anche nelle applicazioni solo client.
-We refer to this broader collection of features as simply "Actions". Actions allow you to pass a function to DOM elements such as [`
`](/reference/react-dom/components/form):
+Ci riferiamo a questa collezione più ampia di funzionalità semplicemente come "Actions". Le Actions ti permettono di passare una funzione a elementi DOM come [``](/reference/react-dom/components/form):
```js
```
-The `action` function can operate synchronously or asynchronously. You can define them on the client side using standard JavaScript or on the server with the [`'use server'`](/reference/rsc/use-server) directive. When using an action, React will manage the life cycle of the data submission for you, providing hooks like [`useFormStatus`](/reference/react-dom/hooks/useFormStatus), and [`useActionState`](/reference/react/useActionState) to access the current state and response of the form action.
+La funzione `action` può operare in modo sincrono o asincrono. Puoi definirle lato client usando JavaScript standard o lato server con la direttiva [`'use server'`](/reference/rsc/use-server). Quando usi un'action, React gestisce il ciclo di vita dell'invio dei dati per te, fornendo hooks come [`useFormStatus`](/reference/react-dom/hooks/useFormStatus) e [`useActionState`](/reference/react/useActionState) per accedere allo state corrente e alla risposta dell'action del form.
-By default, Actions are submitted within a [transition](/reference/react/useTransition), keeping the current page interactive while the action is processing. Since Actions support async functions, we've also added the ability to use `async/await` in transitions. This allows you to show pending UI with the `isPending` state of a transition when an async request like `fetch` starts, and show the pending UI all the way through the update being applied.
+Per impostazione predefinita, le Actions vengono inviate all'interno di una [transition](/reference/react/useTransition), mantenendo la pagina corrente interattiva mentre l'action è in elaborazione. Poiché le Actions supportano funzioni async, abbiamo anche aggiunto la possibilità di usare `async/await` nelle transition. Questo ti permette di mostrare UI in pending con lo state `isPending` di una transition quando parte una richiesta async come `fetch`, e di mostrare l'UI in pending fino all'applicazione dell'aggiornamento.
-Alongside Actions, we're introducing a feature named [`useOptimistic`](/reference/react/useOptimistic) for managing optimistic state updates. With this hook, you can apply temporary updates that are automatically reverted once the final state commits. For Actions, this allows you to optimistically set the final state of the data on the client, assuming the submission is successful, and revert to the value for data received from the server. It works using regular `async`/`await`, so it works the same whether you're using `fetch` on the client, or a Server Action from the server.
+Accanto alle Actions, stiamo introducendo una funzionalità chiamata [`useOptimistic`](/reference/react/useOptimistic) per gestire aggiornamenti ottimistici dello state. Con questo hook, puoi applicare aggiornamenti temporanei che vengono automaticamente ripristinati quando lo state finale viene committato. Per le Actions, questo ti permette di impostare ottimisticamente lo state finale dei dati sul client, assumendo che l'invio abbia successo, e di ripristinare il valore dei dati ricevuti dal server. Funziona con `async`/`await` regolari, quindi funziona allo stesso modo sia che tu usi `fetch` sul client sia una Server Action dal server.
-Library authors can implement custom `action={fn}` props in their own components with `useTransition`. Our intent is for libraries to adopt the Actions pattern when designing their component APIs, to provide a consistent experience for React developers. For example, if your library provides a `` component, consider also exposing a `` API, too.
+Gli autori di librerie possono implementare props personalizzate `action={fn}` nei propri componenti con `useTransition`. La nostra intenzione è che le librerie adottino il pattern Actions quando progettano le API dei componenti, per offrire un'esperienza coerente agli sviluppatori React. Ad esempio, se la tua libreria fornisce un componente ``, considera anche di esporre un'API `` tag (like [Astro Islands](https://docs.astro.build/en/concepts/islands/#creating-an-island)), while `"use server"` tells the bundler to generate a POST endpoint (like [tRPC Mutations](https://trpc.io/docs/concepts)). Together, they let you write reusable components that compose client-side interactivity with the related server-side logic.
+- **Directives**: [`"use client"`](/reference/rsc/use-client) e [`"use server"`](/reference/rsc/use-server) sono funzionalità del bundler progettate per framework React full-stack. Segnano i "punti di split" tra i due ambienti: `"use client"` istruisce il bundler a generare un tag `
```
-### Libraries depending on React internals may block upgrades {/*libraries-depending-on-react-internals-may-block-upgrades*/}
+### Le librerie che dipendono dagli internals di React possono bloccare gli upgrade {/*libraries-depending-on-react-internals-may-block-upgrades*/}
-This release includes changes to React internals that may impact libraries that ignore our pleas to not use internals like `SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`. These changes are necessary to land improvements in React 19, and will not break libraries that follow our guidelines.
+Questo rilascio include modifiche agli internals di React che possono impattare librerie che ignorano le nostre richieste di non usare internals come `SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`. Queste modifiche sono necessarie per far atterrare i miglioramenti in React 19 e non romperanno librerie che seguono le nostre linee guida.
-Based on our [Versioning Policy](https://react.dev/community/versioning-policy#what-counts-as-a-breaking-change), these updates are not listed as breaking changes, and we are not including docs for how to upgrade them. The recommendation is to remove any code that depends on internals.
+In base alla nostra [Versioning Policy](https://react.dev/community/versioning-policy#what-counts-as-a-breaking-change), questi aggiornamenti non sono elencati come breaking change e non includiamo documentazione su come aggiornarli. La raccomandazione è rimuovere qualsiasi codice che dipende dagli internals.
-To reflect the impact of using internals, we have renamed the `SECRET_INTERNALS` suffix to:
+Per riflettere l'impatto dell'uso degli internals, abbiamo rinominato il suffisso `SECRET_INTERNALS` in:
`_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`
-In the future we will more aggressively block accessing internals from React to discourage usage and ensure users are not blocked from upgrading.
+In futuro bloccheremo più aggressivamente l'accesso agli internals da React per scoraggiarne l'uso e assicurare che gli utenti non siano bloccati dall'upgrade.
-## TypeScript changes {/*typescript-changes*/}
+## Modifiche TypeScript {/*typescript-changes*/}
-### Removed deprecated TypeScript types {/*removed-deprecated-typescript-types*/}
+### Rimossi tipi TypeScript deprecati {/*removed-deprecated-typescript-types*/}
-We've cleaned up the TypeScript types based on the removed APIs in React 19. Some of the removed have types been moved to more relevant packages, and others are no longer needed to describe React's behavior.
+Abbiamo ripulito i tipi TypeScript in base alle API rimosse in React 19. Alcuni tipi rimossi sono stati spostati in pacchetti più pertinenti e altri non servono più per descrivere il comportamento di React.
-We've published [`types-react-codemod`](https://github.com/eps1lon/types-react-codemod/) to migrate most type related breaking changes:
+Abbiamo pubblicato [`types-react-codemod`](https://github.com/eps1lon/types-react-codemod/) per migrare la maggior parte delle breaking change relative ai tipi:
```bash
npx types-react-codemod@latest preset-19 ./path-to-app
```
-If you have a lot of unsound access to `element.props`, you can run this additional codemod:
+Se hai molti accessi unsound a `element.props`, puoi eseguire questo codemod aggiuntivo:
```bash
npx types-react-codemod@latest react-element-default-any-props ./path-to-your-react-ts-files
@@ -596,28 +604,27 @@ npx types-react-codemod@latest react-element-default-any-props ./path-to-your-re
-Check out [`types-react-codemod`](https://github.com/eps1lon/types-react-codemod/) for a list of supported replacements. If you feel a codemod is missing, it can be tracked in the [list of missing React 19 codemods](https://github.com/eps1lon/types-react-codemod/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22React+19%22+label%3Aenhancement).
+Consulta [`types-react-codemod`](https://github.com/eps1lon/types-react-codemod/) per l'elenco delle sostituzioni supportate. Se ritieni che manchi un codemod, può essere tracciato nell'[elenco dei codemod React 19 mancanti](https://github.com/eps1lon/types-react-codemod/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22React+19%22+label%3Aenhancement).
-### `ref` cleanups required {/*ref-cleanup-required*/}
+### Richieste ref cleanup {/*ref-cleanup-required*/}
-_This change is included in the `react-19` codemod preset as [`no-implicit-ref-callback-return
-`](https://github.com/eps1lon/types-react-codemod/#no-implicit-ref-callback-return)._
+_Questa modifica è inclusa nel preset codemod `react-19` come [`no-implicit-ref-callback-return`](https://github.com/eps1lon/types-react-codemod/#no-implicit-ref-callback-return)._
-Due to the introduction of ref cleanup functions, returning anything else from a ref callback will now be rejected by TypeScript. The fix is usually to stop using implicit returns:
+A causa dell'introduzione delle ref cleanup function, restituire qualsiasi altra cosa da una ref callback verrà ora rifiutato da TypeScript. La correzione di solito consiste nel smettere di usare return impliciti:
```diff [[1, 1, "("], [1, 1, ")"], [2, 2, "{", 15], [2, 2, "}", 1]]
-
(instance = current)} />
+
{instance = current}} />
```
-The original code returned the instance of the `HTMLDivElement` and TypeScript wouldn't know if this was supposed to be a cleanup function or not.
+Il codice originale restituiva l'istanza dell'`HTMLDivElement` e TypeScript non sapeva se doveva essere una cleanup function o no.
-### `useRef` requires an argument {/*useref-requires-argument*/}
+### `useRef` richiede un argomento {/*useref-requires-argument*/}
-_This change is included in the `react-19` codemod preset as [`refobject-defaults`](https://github.com/eps1lon/types-react-codemod/#refobject-defaults)._
+_Questa modifica è inclusa nel preset codemod `react-19` come [`refobject-defaults`](https://github.com/eps1lon/types-react-codemod/#refobject-defaults)._
-A long-time complaint of how TypeScript and React work has been `useRef`. We've changed the types so that `useRef` now requires an argument. This significantly simplifies its type signature. It'll now behave more like `createContext`.
+Una lamentela di lunga data su come TypeScript e React lavorano insieme riguardava `useRef`. Abbiamo cambiato i tipi così che `useRef` ora richiede un argomento. Questo semplifica significativamente la sua firma di tipo. Ora si comporterà più come `createContext`.
```ts
// @ts-expect-error: Expected 1 argument but saw none
@@ -630,7 +637,7 @@ createContext();
createContext(undefined);
```
-This now also means that all refs are mutable. You'll no longer hit the issue where you can't mutate a ref because you initialised it with `null`:
+Questo significa anche che tutte le ref sono mutabili. Non avrai più il problema per cui non puoi mutare una ref perché l'hai inizializzata con `null`:
```ts
const ref = useRef(null);
@@ -639,7 +646,7 @@ const ref = useRef(null);
ref.current = 1;
```
-`MutableRef` is now deprecated in favor of a single `RefObject` type which `useRef` will always return:
+`MutableRef` è ora deprecato in favore di un unico tipo `RefObject` che `useRef` restituirà sempre:
```ts
interface RefObject {
@@ -649,36 +656,36 @@ interface RefObject {
declare function useRef: RefObject
```
-`useRef` still has a convenience overload for `useRef(null)` that automatically returns `RefObject`. To ease migration due to the required argument for `useRef`, a convenience overload for `useRef(undefined)` was added that automatically returns `RefObject`.
+`useRef` ha ancora un overload di convenienza per `useRef(null)` che restituisce automaticamente `RefObject`. Per facilitare la migrazione dovuta all'argomento obbligatorio per `useRef`, è stato aggiunto un overload di convenienza per `useRef(undefined)` che restituisce automaticamente `RefObject`.
-Check out [[RFC] Make all refs mutable](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/64772) for prior discussions about this change.
+Consulta [[RFC] Make all refs mutable](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/64772) per discussioni precedenti su questa modifica.
-### Changes to the `ReactElement` TypeScript type {/*changes-to-the-reactelement-typescript-type*/}
+### Modifiche al tipo TypeScript `ReactElement` {/*changes-to-the-reactelement-typescript-type*/}
-_This change is included in the [`react-element-default-any-props`](https://github.com/eps1lon/types-react-codemod#react-element-default-any-props) codemod._
+_Questa modifica è inclusa nel codemod [`react-element-default-any-props`](https://github.com/eps1lon/types-react-codemod#react-element-default-any-props)._
-The `props` of React elements now default to `unknown` instead of `any` if the element is typed as `ReactElement`. This does not affect you if you pass a type argument to `ReactElement`:
+Le `props` degli elementi React ora hanno default `unknown` invece di `any` se l'elemento è tipizzato come `ReactElement`. Questo non ti riguarda se passi un type argument a `ReactElement`:
```ts
type Example2 = ReactElement<{ id: string }>["props"];
// ^? { id: string }
```
-But if you relied on the default, you now have to handle `unknown`:
+Ma se ti basavi sul default, ora devi gestire `unknown`:
```ts
type Example = ReactElement["props"];
// ^? Before, was 'any', now 'unknown'
```
-You should only need it if you have a lot of legacy code relying on unsound access of element props. Element introspection only exists as an escape hatch, and you should make it explicit that your props access is unsound via an explicit `any`.
+Dovresti averne bisogno solo se hai molto codice legacy che si basa su accessi unsound alle props degli elementi. L'introspezione degli elementi esiste solo come escape hatch, e dovresti rendere esplicito che l'accesso alle props è unsound tramite un `any` esplicito.
-### The JSX namespace in TypeScript {/*the-jsx-namespace-in-typescript*/}
-This change is included in the `react-19` codemod preset as [`scoped-jsx`](https://github.com/eps1lon/types-react-codemod#scoped-jsx)
+### Il namespace JSX in TypeScript {/*the-jsx-namespace-in-typescript*/}
+Questa modifica è inclusa nel preset codemod `react-19` come [`scoped-jsx`](https://github.com/eps1lon/types-react-codemod#scoped-jsx)
-A long-time request is to remove the global `JSX` namespace from our types in favor of `React.JSX`. This helps prevent pollution of global types which prevents conflicts between different UI libraries that leverage JSX.
+Una richiesta di lunga data è rimuovere il namespace globale `JSX` dai nostri tipi in favore di `React.JSX`. Questo aiuta a prevenire l'inquinamento dei tipi globali che previene conflitti tra diverse librerie UI che usano JSX.
-You'll now need to wrap module augmentation of the JSX namespace in `declare module "....":
+Ora dovrai avvolgere l'augmentation del modulo del namespace JSX in `declare module "....":
```diff
// global.d.ts
@@ -693,34 +700,34 @@ You'll now need to wrap module augmentation of the JSX namespace in `declare mod
+ }
```
-The exact module specifier depends on the JSX runtime you specified in the `compilerOptions` of your `tsconfig.json`:
+Lo specifier esatto del modulo dipende dalla JSX runtime specificata nelle `compilerOptions` del tuo `tsconfig.json`:
-- For `"jsx": "react-jsx"` it would be `react/jsx-runtime`.
-- For `"jsx": "react-jsxdev"` it would be `react/jsx-dev-runtime`.
-- For `"jsx": "react"` and `"jsx": "preserve"` it would be `react`.
+- Per `"jsx": "react-jsx"` sarebbe `react/jsx-runtime`.
+- Per `"jsx": "react-jsxdev"` sarebbe `react/jsx-dev-runtime`.
+- Per `"jsx": "react"` e `"jsx": "preserve"` sarebbe `react`.
-### Better `useReducer` typings {/*better-usereducer-typings*/}
+### Tipizzazioni migliori per `useReducer` {/*better-usereducer-typings*/}
-`useReducer` now has improved type inference thanks to [@mfp22](https://github.com/mfp22).
+`useReducer` ora ha un type inference migliorato grazie a [@mfp22](https://github.com/mfp22).
-However, this required a breaking change where `useReducer` doesn't accept the full reducer type as a type parameter but instead either needs none (and rely on contextual typing) or needs both the state and action type.
+Tuttavia, questo ha richiesto una breaking change in cui `useReducer` non accetta il tipo reducer completo come type parameter ma invece non ne richiede nessuno (e si affida al contextual typing) o richiede sia lo state che il tipo action.
-The new best practice is _not_ to pass type arguments to `useReducer`.
+La nuova best practice è _non_ passare type arguments a `useReducer`.
```diff
- useReducer>(reducer)
+ useReducer(reducer)
```
-This may not work in edge cases where you can explicitly type the state and action, by passing in the `Action` in a tuple:
+Questo potrebbe non funzionare in edge case dove puoi tipizzare esplicitamente lo state e l'action, passando l'`Action` in una tupla:
```diff
- useReducer>(reducer)
+ useReducer(reducer)
```
-If you define the reducer inline, we encourage to annotate the function parameters instead:
+Se definisci il reducer inline, incoraggiamo ad annotare i parametri della funzione invece:
```diff
- useReducer>((state, action) => state)
+ useReducer((state: State, action: Action) => state)
```
-This is also what you'd also have to do if you move the reducer outside of the `useReducer` call:
+Questo è anche ciò che dovresti fare se sposti il reducer fuori dalla chiamata `useReducer`:
```ts
const reducer = (state: State, action: Action) => state;
@@ -728,27 +735,27 @@ const reducer = (state: State, action: Action) => state;
## Changelog {/*changelog*/}
-### Other breaking changes {/*other-breaking-changes*/}
+### Altre breaking change {/*other-breaking-changes*/}
-- **react-dom**: Error for javascript URLs in `src` and `href` [#26507](https://github.com/react/react/pull/26507)
-- **react-dom**: Remove `errorInfo.digest` from `onRecoverableError` [#28222](https://github.com/react/react/pull/28222)
-- **react-dom**: Remove `unstable_flushControlled` [#26397](https://github.com/react/react/pull/26397)
-- **react-dom**: Remove `unstable_createEventHandle` [#28271](https://github.com/react/react/pull/28271)
-- **react-dom**: Remove `unstable_renderSubtreeIntoContainer` [#28271](https://github.com/react/react/pull/28271)
-- **react-dom**: Remove `unstable_runWithPriority` [#28271](https://github.com/react/react/pull/28271)
-- **react-is**: Remove deprecated methods from `react-is` [28224](https://github.com/react/react/pull/28224)
+- **react-dom**: Errore per URL javascript in `src` e `href` [#26507](https://github.com/react/react/pull/26507)
+- **react-dom**: Rimozione di `errorInfo.digest` da `onRecoverableError` [#28222](https://github.com/react/react/pull/28222)
+- **react-dom**: Rimozione di `unstable_flushControlled` [#26397](https://github.com/react/react/pull/26397)
+- **react-dom**: Rimozione di `unstable_createEventHandle` [#28271](https://github.com/react/react/pull/28271)
+- **react-dom**: Rimozione di `unstable_renderSubtreeIntoContainer` [#28271](https://github.com/react/react/pull/28271)
+- **react-dom**: Rimozione di `unstable_runWithPriority` [#28271](https://github.com/react/react/pull/28271)
+- **react-is**: Rimozione di metodi deprecati da `react-is` [28224](https://github.com/react/react/pull/28224)
-### Other notable changes {/*other-notable-changes*/}
+### Altre modifiche rilevanti {/*other-notable-changes*/}
-- **react**: Batch sync, default and continuous lanes [#25700](https://github.com/react/react/pull/25700)
-- **react**: Don't prerender siblings of suspended component [#26380](https://github.com/react/react/pull/26380)
-- **react**: Detect infinite update loops caused by render phase updates [#26625](https://github.com/react/react/pull/26625)
-- **react-dom**: Transitions in popstate are now synchronous [#26025](https://github.com/react/react/pull/26025)
-- **react-dom**: Remove layout effect warning during SSR [#26395](https://github.com/react/react/pull/26395)
-- **react-dom**: Warn and don’t set empty string for src/href (except anchor tags) [#28124](https://github.com/react/react/pull/28124)
+- **react**: Raggruppamento di sync, default e continuous lanes [#25700](https://github.com/react/react/pull/25700)
+- **react**: Nessun prerender dei sibling di un componente sospeso [#26380](https://github.com/react/react/pull/26380)
+- **react**: Rilevamento di loop di aggiornamento infiniti causati da aggiornamenti in fase di render [#26625](https://github.com/react/react/pull/26625)
+- **react-dom**: Le Transitions in popstate sono ora sincrone [#26025](https://github.com/react/react/pull/26025)
+- **react-dom**: Rimozione del warning sugli Effect di layout durante SSR [#26395](https://github.com/react/react/pull/26395)
+- **react-dom**: Warning e nessuna impostazione di stringa vuota per src/href (eccetto tag anchor) [#28124](https://github.com/react/react/pull/28124)
-For a full list of changes, please see the [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md#1900-december-5-2024).
+Per l'elenco completo delle modifiche, consulta il [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md#1900-december-5-2024).
---
-Thanks to [Andrew Clark](https://twitter.com/acdlite), [Eli White](https://twitter.com/Eli_White), [Jack Pope](https://github.com/jackpope), [Jan Kassens](https://github.com/kassens), [Josh Story](https://twitter.com/joshcstory), [Matt Carroll](https://twitter.com/mattcarrollcode), [Noah Lemen](https://twitter.com/noahlemen), [Sophie Alpert](https://twitter.com/sophiebits), and [Sebastian Silbermann](https://twitter.com/sebsilbermann) for reviewing and editing this post.
+Grazie a [Andrew Clark](https://twitter.com/acdlite), [Eli White](https://twitter.com/Eli_White), [Jack Pope](https://github.com/jackpope), [Jan Kassens](https://github.com/kassens), [Josh Story](https://twitter.com/joshcstory), [Matt Carroll](https://twitter.com/mattcarrollcode), [Noah Lemen](https://twitter.com/noahlemen), [Sophie Alpert](https://twitter.com/sophiebits) e [Sebastian Silbermann](https://twitter.com/sebsilbermann) per la revisione e l'editing di questo post.
diff --git a/src/content/blog/2024/05/22/react-conf-2024-recap.md b/src/content/blog/2024/05/22/react-conf-2024-recap.md
index d0774782a..c95d10864 100644
--- a/src/content/blog/2024/05/22/react-conf-2024-recap.md
+++ b/src/content/blog/2024/05/22/react-conf-2024-recap.md
@@ -1,124 +1,130 @@
---
-title: "React Conf 2024 Recap"
+title: "React Conf 2024: il riepilogo"
author: Ricky Hanlon
date: 2024/05/22
-description: Last week we hosted React Conf 2024, a two-day conference in Henderson, Nevada where 700+ attendees gathered in-person to discuss the latest in UI engineering. In this post, we'll summarize the talks and announcements from the event.
+description: La scorsa settimana abbiamo ospitato React Conf 2024, una conferenza di due giorni a Henderson, Nevada, con oltre 700 partecipanti in presenza per discutere le ultime novità nell'ingegneria UI. In questo post riassumiamo i talk e gli annunci dell'evento.
+translationStatus: ai-draft
---
-May 22, 2024 by [Ricky Hanlon](https://twitter.com/rickhanlonii).
+22 maggio 2024 di [Ricky Hanlon](https://twitter.com/rickhanlonii).
---
+
+
+Questa pagina è stata tradotta automaticamente e supervisionata da un maintainer. Un'ulteriore revisione da parte della community sarebbe comunque utile. [Migliora questa traduzione](https://github.com/reactjs/it.react.dev/edit/main/src/content/blog/2024/05/22/react-conf-2024-recap.md).
+
+
+
-Last week we hosted React Conf 2024, a two-day conference in Henderson, Nevada where 700+ attendees gathered in-person to discuss the latest in UI engineering. This was our first in-person conference since 2019, and we were thrilled to be able to bring the community together again.
+La scorsa settimana abbiamo ospitato React Conf 2024, una conferenza di due giorni a Henderson, Nevada, con oltre 700 partecipanti in presenza per discutere le ultime novità nell'ingegneria UI. È stata la nostra prima conferenza in presenza dal 2019, e siamo entusiasti di aver potuto riunire di nuovo la community.
---
-At React Conf 2024, we announced the [React 19 RC](/blog/2024/12/05/react-19), the [React Native New Architecture Beta](https://github.com/reactwg/react-native-new-architecture/discussions/189), and an experimental release of the [React Compiler](/learn/react-compiler). The community also took the stage to announce [React Router v7](https://remix.run/blog/merging-remix-and-react-router), [Universal Server Components](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=20765s) in Expo Router, React Server Components in [RedwoodJS](https://redwoodjs.com/blog/rsc-now-in-redwoodjs), and much more.
+A React Conf 2024 abbiamo annunciato la [React 19 RC](/blog/2024/12/05/react-19), la [React Native New Architecture Beta](https://github.com/reactwg/react-native-new-architecture/discussions/189) e un rilascio sperimentale del [React Compiler](/learn/react-compiler). La community ha preso il palco per annunciare [React Router v7](https://remix.run/blog/merging-remix-and-react-router), [Universal Server Components](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=20765s) in Expo Router, React Server Components in [RedwoodJS](https://redwoodjs.com/blog/rsc-now-in-redwoodjs) e molto altro.
-The entire [day 1](https://www.youtube.com/watch?v=T8TZQ6k4SLE) and [day 2](https://www.youtube.com/watch?v=0ckOUBiuxVY) streams are available online. In this post, we'll summarize the talks and announcements from the event.
+Gli stream completi del [giorno 1](https://www.youtube.com/watch?v=T8TZQ6k4SLE) e del [giorno 2](https://www.youtube.com/watch?v=0ckOUBiuxVY) sono disponibili online. In questo post riassumiamo i talk e gli annunci dell'evento.
-## Day 1 {/*day-1*/}
+## Giorno 1 {/*day-1*/}
-_[Watch the full day 1 stream here.](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=973s)_
+_[Guarda qui lo stream completo del giorno 1.](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=973s)_
-To kick off day 1, Meta CTO [Andrew "Boz" Bosworth](https://www.threads.net/@boztank) shared a welcome message followed by an introduction by [Seth Webster](https://twitter.com/sethwebster), who manages the React Org at Meta, and our MC [Ashley Narcisse](https://twitter.com/_darkfadr).
+Per aprire il giorno 1, il CTO di Meta [Andrew "Boz" Bosworth](https://www.threads.net/@boztank) ha condiviso un messaggio di benvenuto seguito da un'introduzione di [Seth Webster](https://twitter.com/sethwebster), che gestisce l'organizzazione React in Meta, e dalla nostra MC [Ashley Narcisse](https://twitter.com/_darkfadr).
-In the day 1 keynote, [Joe Savona](https://twitter.com/en_JS) shared our goals and vision for React to make it easy for anyone to build great user experiences. [Lauren Tan](https://twitter.com/potetotes) followed with a State of React, where she shared that React was downloaded over 1 billion times in 2023, and that 37% of new developers learn to program with React. Finally, she highlighted the work of the React community to make React, React.
+Nel keynote del giorno 1, [Joe Savona](https://twitter.com/en_JS) ha condiviso obiettivi e visione di React per rendere semplice a chiunque costruire grandi esperienze utente. [Lauren Tan](https://twitter.com/potetotes) ha seguito con uno State of React, in cui ha condiviso che React è stato scaricato oltre 1 miliardo di volte nel 2023 e che il 37% dei nuovi sviluppatori impara a programmare con React. Infine, ha evidenziato il lavoro della community React per fare React, React.
-For more, check out these talks from the community later in the conference:
+Per approfondire, guarda questi talk della community più avanti nella conferenza:
-- [Vanilla React](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=5542s) by [Ryan Florence](https://twitter.com/ryanflorence)
-- [React Rhythm & Blues](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=12728s) by [Lee Robinson](https://twitter.com/leeerob)
-- [RedwoodJS, now with React Server Components](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=26815s) by [Amy Dutton](https://twitter.com/selfteachme)
-- [Introducing Universal React Server Components in Expo Router](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=20765s) by [Evan Bacon](https://twitter.com/Baconbrix)
+- [Vanilla React](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=5542s) di [Ryan Florence](https://twitter.com/ryanflorence)
+- [React Rhythm & Blues](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=12728s) di [Lee Robinson](https://twitter.com/leeerob)
+- [RedwoodJS, now with React Server Components](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=26815s) di [Amy Dutton](https://twitter.com/selfteachme)
+- [Introducing Universal React Server Components in Expo Router](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=20765s) di [Evan Bacon](https://twitter.com/Baconbrix)
-Next in the keynote, [Josh Story](https://twitter.com/joshcstory) and [Andrew Clark](https://twitter.com/acdlite) shared new features coming in React 19, and announced the React 19 RC which is ready for testing in production. Check out all the features in the [React 19 release post](/blog/2024/12/05/react-19), and see these talks for deep dives on the new features:
+Successivamente nel keynote, [Josh Story](https://twitter.com/joshcstory) e [Andrew Clark](https://twitter.com/acdlite) hanno condiviso le nuove funzionalità in arrivo in React 19 e annunciato la React 19 RC, pronta per i test in produzione. Scopri tutte le funzionalità nel [post di rilascio di React 19](/blog/2024/12/05/react-19), e guarda questi talk per approfondimenti sulle nuove funzionalità:
-- [What's new in React 19](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=8880s) by [Lydia Hallie](https://twitter.com/lydiahallie)
-- [React Unpacked: A Roadmap to React 19](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=10112s) by [Sam Selikoff](https://twitter.com/samselikoff)
-- [React 19 Deep Dive: Coordinating HTML](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=24916s) by [Josh Story](https://twitter.com/joshcstory)
-- [Enhancing Forms with React Server Components](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=25280s) by [Aurora Walberg Scharff](https://twitter.com/aurorascharff)
-- [React for Two Computers](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=18825s) by [Dan Abramov](https://bsky.app/profile/danabra.mov)
-- [And Now You Understand React Server Components](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=11256s) by [Kent C. Dodds](https://twitter.com/kentcdodds)
+- [What's new in React 19](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=8880s) di [Lydia Hallie](https://twitter.com/lydiahallie)
+- [React Unpacked: A Roadmap to React 19](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=10112s) di [Sam Selikoff](https://twitter.com/samselikoff)
+- [React 19 Deep Dive: Coordinating HTML](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=24916s) di [Josh Story](https://twitter.com/joshcstory)
+- [Enhancing Forms with React Server Components](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=25280s) di [Aurora Walberg Scharff](https://twitter.com/aurorascharff)
+- [React for Two Computers](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=18825s) di [Dan Abramov](https://bsky.app/profile/danabra.mov)
+- [And Now You Understand React Server Components](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=11256s) di [Kent C. Dodds](https://twitter.com/kentcdodds)
-Finally, we ended the keynote with [Joe Savona](https://twitter.com/en_JS), [Sathya Gunasekaran](https://twitter.com/_gsathya), and [Mofei Zhang](https://twitter.com/zmofei) announcing that the React Compiler is now [Open Source](https://github.com/react/react/pull/29061), and sharing an experimental version of the React Compiler to try out.
+Infine, abbiamo chiuso il keynote con [Joe Savona](https://twitter.com/en_JS), [Sathya Gunasekaran](https://twitter.com/_gsathya) e [Mofei Zhang](https://twitter.com/zmofei) che hanno annunciato che React Compiler è ora [Open Source](https://github.com/react/react/pull/29061) e condiviso una versione sperimentale di React Compiler da provare.
-For more information on using the Compiler and how it works, check out [the docs](/learn/react-compiler) and these talks:
+Per maggiori informazioni sull'uso del Compiler e su come funziona, consulta [la documentazione](/learn/react-compiler) e questi talk:
-- [Forget About Memo](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=12020s) by [Lauren Tan](https://twitter.com/potetotes)
-- [React Compiler Deep Dive](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=9313s) by [Sathya Gunasekaran](https://twitter.com/_gsathya) and [Mofei Zhang](https://twitter.com/zmofei)
+- [Forget About Memo](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=12020s) di [Lauren Tan](https://twitter.com/potetotes)
+- [React Compiler Deep Dive](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=9313s) di [Sathya Gunasekaran](https://twitter.com/_gsathya) e [Mofei Zhang](https://twitter.com/zmofei)
-Watch the full day 1 keynote here:
+Guarda il keynote completo del giorno 1 qui:
-## Day 2 {/*day-2*/}
+## Giorno 2 {/*day-2*/}
-_[Watch the full day 2 stream here.](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=1720s)_
+_[Guarda qui lo stream completo del giorno 2.](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=1720s)_
-To kick off day 2, [Seth Webster](https://twitter.com/sethwebster) shared a welcome message, followed by a Thank You from [Eli White](https://x.com/Eli_White) and an introduction by our Chief Vibes Officer [Ashley Narcisse](https://twitter.com/_darkfadr).
+Per aprire il giorno 2, [Seth Webster](https://twitter.com/sethwebster) ha condiviso un messaggio di benvenuto, seguito da un ringraziamento di [Eli White](https://x.com/Eli_White) e da un'introduzione della nostra Chief Vibes Officer [Ashley Narcisse](https://twitter.com/_darkfadr).
-In the day 2 keynote, [Nicola Corti](https://twitter.com/cortinico) shared the State of React Native, including 78 million downloads in 2023. He also highlighted apps using React Native including 2000+ screens used inside of Meta; the product details page in Facebook Marketplace, which is visited more than 2 billion times per day; and part of the Microsoft Windows Start Menu and some features in almost every Microsoft Office product across mobile and desktop.
+Nel keynote del giorno 2, [Nicola Corti](https://twitter.com/cortinico) ha condiviso lo State of React Native, inclusi 78 milioni di download nel 2023. Ha anche evidenziato app che usano React Native, incluse oltre 2000 schermate usate dentro Meta; la pagina dei dettagli prodotto in Facebook Marketplace, visitata più di 2 miliardi di volte al giorno; e parte del menu Start di Microsoft Windows e alcune funzionalità in quasi ogni prodotto Microsoft Office su mobile e desktop.
-Nicola also highlighted all the work the community does to support React Native including libraries, frameworks, and multiple platforms. For more, check out these talks from the community:
+Nicola ha anche evidenziato tutto il lavoro che la community fa per supportare React Native, incluse librerie, framework e piattaforme multiple. Per approfondire, guarda questi talk della community:
-- [Extending React Native beyond Mobile and Desktop Apps](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=5798s) by [Chris Traganos](https://twitter.com/chris_trag) and [Anisha Malde](https://twitter.com/anisha_malde)
-- [Spatial computing with React](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=22525s) by [Michał Pierzchała](https://twitter.com/thymikee)
+- [Extending React Native beyond Mobile and Desktop Apps](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=5798s) di [Chris Traganos](https://twitter.com/chris_trag) e [Anisha Malde](https://twitter.com/anisha_malde)
+- [Spatial computing with React](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=22525s) di [Michał Pierzchała](https://twitter.com/thymikee)
-[Riccardo Cipolleschi](https://twitter.com/cipolleschir) continued the day 2 keynote by announcing that the React Native New Architecture is now in Beta and ready for apps to adopt in production. He shared new features and improvements in the new architecture, and shared the roadmap for the future of React Native. For more check out:
+[Riccardo Cipolleschi](https://twitter.com/cipolleschir) ha proseguito il keynote del giorno 2 annunciando che la React Native New Architecture è ora in Beta e pronta per essere adottata in produzione dalle app. Ha condiviso nuove funzionalità e miglioramenti nella nuova architettura e la roadmap per il futuro di React Native. Per approfondire:
-- [Cross Platform React](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=26569s) by [Olga Zinoveva](https://github.com/SlyCaptainFlint) and [Naman Goel](https://twitter.com/naman34)
+- [Cross Platform React](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=26569s) di [Olga Zinoveva](https://github.com/SlyCaptainFlint) e [Naman Goel](https://twitter.com/naman34)
-Next in the keynote, Nicola announced that we are now recommending starting with a framework like Expo for all new apps created with React Native. With the change, he also announced a new React Native homepage and new Getting Started docs. You can view the new Getting Started guide in the [React Native docs](https://reactnative.dev/docs/next/environment-setup).
+Successivamente nel keynote, Nicola ha annunciato che ora consigliamo di iniziare con un framework come Expo per tutte le nuove app create con React Native. Con questo cambiamento, ha anche annunciato una nuova homepage di React Native e una nuova documentazione Getting Started. Puoi consultare la nuova guida Getting Started nella [documentazione di React Native](https://reactnative.dev/docs/next/environment-setup).
-Finally, to end the keynote, [Kadi Kraman](https://twitter.com/kadikraman) shared the latest features and improvements in Expo, and how to get started developing with React Native using Expo.
+Infine, per chiudere il keynote, [Kadi Kraman](https://twitter.com/kadikraman) ha condiviso le ultime funzionalità e miglioramenti in Expo e come iniziare a sviluppare con React Native usando Expo.
-Watch the full day 2 keynote here:
+Guarda il keynote completo del giorno 2 qui:
## Q&A {/*q-and-a*/}
-The React and React Native teams also ended each day with a Q&A session:
-
-- [React Q&A](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=27518s) hosted by [Michael Chan](https://twitter.com/chantastic)
-- [React Native Q&A](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=27935s) hosted by [Jamon Holmgren](https://twitter.com/jamonholmgren)
+I team React e React Native hanno anche chiuso ogni giornata con una sessione Q&A:
-## And more... {/*and-more*/}
+- [React Q&A](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=27518s) condotta da [Michael Chan](https://twitter.com/chantastic)
+- [React Native Q&A](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=27935s) condotta da [Jamon Holmgren](https://twitter.com/jamonholmgren)
-We also heard talks on accessibility, error reporting, css, and more:
+## E altro... {/*and-more*/}
-- [Demystifying accessibility in React apps](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=20655s) by [Kateryna Porshnieva](https://twitter.com/krambertech)
-- [Pigment CSS, CSS in the server component age](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=21696s) by [Olivier Tassinari](https://twitter.com/olivtassinari)
-- [Real-time React Server Components](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=24070s) by [Sunil Pai](https://twitter.com/threepointone)
-- [Let's break React Rules](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=25862s) by [Charlotte Isambert](https://twitter.com/c_isambert)
-- [Solve 100% of your errors](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=19881s) by [Ryan Albrecht](https://github.com/ryan953)
+Abbiamo anche ascoltato talk su accessibilità, segnalazione errori, CSS e altro:
-## Thank you {/*thank-you*/}
+- [Demystifying accessibility in React apps](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=20655s) di [Kateryna Porshnieva](https://twitter.com/krambertech)
+- [Pigment CSS, CSS in the server component age](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=21696s) di [Olivier Tassinari](https://twitter.com/olivtassinari)
+- [Real-time React Server Components](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=24070s) di [Sunil Pai](https://twitter.com/threepointone)
+- [Let's break React Rules](https://www.youtube.com/watch?v=T8TZQ6k4SLE&t=25862s) di [Charlotte Isambert](https://twitter.com/c_isambert)
+- [Solve 100% of your errors](https://www.youtube.com/watch?v=0ckOUBiuxVY&t=19881s) di [Ryan Albrecht](https://github.com/ryan953)
-Thank you to all the staff, speakers, and participants who made React Conf 2024 possible. There are too many to list, but we want to thank a few in particular.
+## Grazie {/*thank-you*/}
-Thank you to [Barbara Markiewicz](https://twitter.com/barbara_markie), the team at [Callstack](https://www.callstack.com/), and our React Team Developer Advocate [Matt Carroll](https://twitter.com/mattcarrollcode) for helping to plan the entire event; and to [Sunny Leggett](https://zeroslopeevents.com/about) and everyone from [Zero Slope](https://zeroslopeevents.com) for helping to organize the event.
+Grazie a tutto lo staff, ai relatori e ai partecipanti che hanno reso possibile React Conf 2024. Sono troppi per elencarli tutti, ma vogliamo ringraziare in particolare alcuni.
-Thank you [Ashley Narcisse](https://twitter.com/_darkfadr) for being our MC and Chief Vibes Officer; and to [Michael Chan](https://twitter.com/chantastic) and [Jamon Holmgren](https://twitter.com/jamonholmgren) for hosting the Q&A sessions.
+Grazie a [Barbara Markiewicz](https://twitter.com/barbara_markie), al team di [Callstack](https://www.callstack.com/) e al nostro Developer Advocate del React Team [Matt Carroll](https://twitter.com/mattcarrollcode) per l'aiuto nella pianificazione dell'intero evento; e a [Sunny Leggett](https://zeroslopeevents.com/about) e a tutti di [Zero Slope](https://zeroslopeevents.com) per l'organizzazione dell'evento.
-Thank you [Seth Webster](https://twitter.com/sethwebster) and [Eli White](https://x.com/Eli_White) for welcoming us each day and providing direction on structure and content; and to [Tom Occhino](https://twitter.com/tomocchino) for joining us with a special message during the after-party.
+Grazie a [Ashley Narcisse](https://twitter.com/_darkfadr) per essere stata la nostra MC e Chief Vibes Officer; e a [Michael Chan](https://twitter.com/chantastic) e [Jamon Holmgren](https://twitter.com/jamonholmgren) per aver condotto le sessioni Q&A.
-Thank you [Ricky Hanlon](https://www.youtube.com/watch?v=FxTZL2U-uKg&t=1263s) for providing detailed feedback on talks, working on slide designs, and generally filling in the gaps to sweat the details.
+Grazie a [Seth Webster](https://twitter.com/sethwebster) e [Eli White](https://x.com/Eli_White) per averci accolto ogni giorno e fornito direzione su struttura e contenuti; e a [Tom Occhino](https://twitter.com/tomocchino) per essersi unito a noi con un messaggio speciale durante l'after-party.
-Thank you [Callstack](https://www.callstack.com/) for building the conference website; and to [Kadi Kraman](https://twitter.com/kadikraman) and the [Expo](https://expo.dev/) team for building the conference mobile app.
+Grazie a [Ricky Hanlon](https://www.youtube.com/watch?v=FxTZL2U-uKg&t=1263s) per il feedback dettagliato sui talk, il lavoro sul design delle slide e per colmare i vuoti curando i dettagli.
-Thank you to all the sponsors who made the event possible: [Remix](https://remix.run/), [Amazon](https://developer.amazon.com/apps-and-games?cmp=US_2024_05_3P_React-Conf-2024&ch=prtnr&chlast=prtnr&pub=ref&publast=ref&type=org&typelast=org), [MUI](https://mui.com/), [Sentry](https://sentry.io/for/react/?utm_source=sponsored-conf&utm_medium=sponsored-event&utm_campaign=frontend-fy25q2-evergreen&utm_content=logo-reactconf2024-learnmore), [Abbott](https://www.jobs.abbott/software), [Expo](https://expo.dev/), [RedwoodJS](https://rwsdk.com/), and [Vercel](https://vercel.com).
+Grazie a [Callstack](https://www.callstack.com/) per aver costruito il sito della conferenza; e a [Kadi Kraman](https://twitter.com/kadikraman) e al team [Expo](https://expo.dev/) per l'app mobile della conferenza.
-Thank you to the AV Team for the visuals, stage, and sound; and to the Westin Hotel for hosting us.
+Grazie a tutti gli sponsor che hanno reso possibile l'evento: [Remix](https://remix.run/), [Amazon](https://developer.amazon.com/apps-and-games?cmp=US_2024_05_3P_React-Conf-2024&ch=prtnr&chlast=prtnr&pub=ref&publast=ref&type=org&typelast=org), [MUI](https://mui.com/), [Sentry](https://sentry.io/for/react/?utm_source=sponsored-conf&utm_medium=sponsored-event&utm_campaign=frontend-fy25q2-evergreen&utm_content=logo-reactconf2024-learnmore), [Abbott](https://www.jobs.abbott/software), [Expo](https://expo.dev/), [RedwoodJS](https://rwsdk.com/) e [Vercel](https://vercel.com).
-Thank you to all the speakers who shared their knowledge and experiences with the community.
+Grazie al team AV per visual, palco e audio; e all'hotel Westin per averci ospitato.
-Finally, thank you to everyone who attended in person and online to show what makes React, React. React is more than a library, it is a community, and it was inspiring to see everyone come together to share and learn together.
+Grazie a tutti i relatori che hanno condiviso conoscenza ed esperienze con la community.
-See you next time!
+Infine, grazie a tutti coloro che hanno partecipato in presenza e online per mostrare cosa fa React, React. React è più di una libreria, è una community, ed è stato stimolante vedere tutti riunirsi per condividere e imparare insieme.
+Ci vediamo la prossima volta!
diff --git a/src/content/blog/2024/10/21/react-compiler-beta-release.md b/src/content/blog/2024/10/21/react-compiler-beta-release.md
index 5cc5f19ae..fd82097bb 100644
--- a/src/content/blog/2024/10/21/react-compiler-beta-release.md
+++ b/src/content/blog/2024/10/21/react-compiler-beta-release.md
@@ -1,134 +1,140 @@
---
-title: "React Compiler Beta Release"
+title: "React Compiler: rilascio Beta"
author: Lauren Tan
date: 2024/10/21
-description: At React Conf 2024, we announced the experimental release of React Compiler, a build-time tool that optimizes your React app through automatic memoization. In this post, we want to share what's next for open source, and our progress on the compiler.
-
+description: A React Conf 2024 abbiamo annunciato il rilascio sperimentale di React Compiler, uno strumento build-time che ottimizza la tua app React tramite memorizzazione automatica. In questo post condividiamo i prossimi passi per l'open source e i progressi sul compiler.
+translationStatus: ai-draft
---
-October 21, 2024 by [Lauren Tan](https://twitter.com/potetotes).
+21 ottobre 2024 di [Lauren Tan](https://twitter.com/potetotes).
---
-### React Compiler is now stable! {/*react-compiler-is-now-in-rc*/}
+Questa pagina è stata tradotta automaticamente e supervisionata da un maintainer. Un'ulteriore revisione da parte della community sarebbe comunque utile. [Migliora questa traduzione](https://github.com/reactjs/it.react.dev/edit/main/src/content/blog/2024/10/21/react-compiler-beta-release.md).
+
+
+
+
+
+### React Compiler è ora stabile! {/*react-compiler-is-now-in-rc*/}
-Please see the [stable release blog post](/blog/2025/10/07/react-compiler-1) for details.
+Consulta il [post di rilascio stabile](/blog/2025/10/07/react-compiler-1) per i dettagli.
-The React team is excited to share new updates:
+Il team React è entusiasta di condividere nuovi aggiornamenti:
-1. We're publishing React Compiler Beta today, so that early adopters and library maintainers can try it and provide feedback.
-2. We're officially supporting React Compiler for apps on React 17+, through an optional `react-compiler-runtime` package.
-3. We're opening up public membership of the [React Compiler Working Group](https://github.com/reactwg/react-compiler) to prepare the community for gradual adoption of the compiler.
+1. Pubblichiamo oggi React Compiler Beta, così early adopter e maintainer di librerie possono provarlo e fornire feedback.
+2. Supportiamo ufficialmente React Compiler per app su React 17+, tramite il pacchetto opzionale `react-compiler-runtime`.
+3. Apriamo l'iscrizione pubblica al [React Compiler Working Group](https://github.com/reactwg/react-compiler) per preparare la community all'adozione graduale del compiler.
---
-At [React Conf 2024](/blog/2024/05/22/react-conf-2024-recap), we announced the experimental release of React Compiler, a build-time tool that optimizes your React app through automatic memoization. [You can find an introduction to React Compiler here](/learn/react-compiler).
+A [React Conf 2024](/blog/2024/05/22/react-conf-2024-recap), abbiamo annunciato il rilascio sperimentale di React Compiler, uno strumento build-time che ottimizza la tua app React tramite memorizzazione automatica. [Puoi trovare un'introduzione a React Compiler qui](/learn/react-compiler).
-Since the first release, we've fixed numerous bugs reported by the React community, received several high quality bug fixes and contributions[^1] to the compiler, made the compiler more resilient to the broad diversity of JavaScript patterns, and have continued to roll out the compiler more widely at Meta.
+Dal primo rilascio, abbiamo corretto numerosi bug segnalati dalla community React, ricevuto diversi fix e contributi di alta qualità[^1] al compiler, reso il compiler più resiliente alla vasta diversità di pattern JavaScript e continuato a distribuirlo più ampiamente in Meta.
-In this post, we want to share what's next for React Compiler.
+In questo post vogliamo condividere i prossimi passi per React Compiler.
-## Try React Compiler Beta today {/*try-react-compiler-beta-today*/}
+## Prova React Compiler Beta oggi {/*try-react-compiler-beta-today*/}
-At [React India 2024](https://www.youtube.com/watch?v=qd5yk2gxbtg), we shared an update on React Compiler. Today, we are excited to announce a new Beta release of React Compiler and ESLint plugin. New betas are published to npm using the `@beta` tag.
+A [React India 2024](https://www.youtube.com/watch?v=qd5yk2gxbtg), abbiamo condiviso un aggiornamento su React Compiler. Oggi siamo entusiasti di annunciare un nuovo rilascio Beta di React Compiler e del plugin ESLint. Le nuove beta vengono pubblicate su npm con il tag `@beta`.
-To install React Compiler Beta:
+Per installare React Compiler Beta:
npm install -D babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
-Or, if you're using Yarn:
+Oppure, se usi Yarn:
yarn add -D babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
-You can watch [Sathya Gunasekaran's](https://twitter.com/_gsathya) talk at React India here:
+Puoi guardare il talk di [Sathya Gunasekaran](https://twitter.com/_gsathya) a React India qui:
-## We recommend everyone use the React Compiler linter today {/*we-recommend-everyone-use-the-react-compiler-linter-today*/}
+## Consigliamo a tutti di usare il linter di React Compiler oggi {/*we-recommend-everyone-use-the-react-compiler-linter-today*/}
-React Compiler’s ESLint plugin helps developers proactively identify and correct [Rules of React](/reference/rules) violations. **We strongly recommend everyone use the linter today**. The linter does not require that you have the compiler installed, so you can use it independently, even if you are not ready to try out the compiler.
+Il plugin ESLint di React Compiler aiuta gli sviluppatori a identificare e correggere proattivamente le violazioni delle [Rules of React](/reference/rules). **Consigliamo fortemente a tutti di usare il linter oggi**. Il linter non richiede che tu abbia il compiler installato, quindi puoi usarlo in modo indipendente, anche se non sei pronto a provare il compiler.
-To install the linter only:
+Per installare solo il linter:
npm install -D eslint-plugin-react-compiler@beta
-Or, if you're using Yarn:
+Oppure, se usi Yarn:
yarn add -D eslint-plugin-react-compiler@beta
-After installation you can enable the linter by [adding it to your ESLint config](/learn/react-compiler/installation#eslint-integration). Using the linter helps identify Rules of React breakages, making it easier to adopt the compiler when it's fully released.
+Dopo l'installazione puoi abilitare il linter [aggiungendolo alla configurazione ESLint](/learn/react-compiler/installation#eslint-integration). Usare il linter aiuta a identificare le violazioni delle Rules of React, rendendo più semplice adottare il compiler quando sarà completamente rilasciato.
-## Backwards Compatibility {/*backwards-compatibility*/}
+## Compatibilità con versioni precedenti {/*backwards-compatibility*/}
-React Compiler produces code that depends on runtime APIs added in React 19, but we've since added support for the compiler to also work with React 17 and 18. If you are not on React 19 yet, in the Beta release you can now try out React Compiler by specifying a minimum `target` in your compiler config, and adding `react-compiler-runtime` as a dependency. [You can find docs on this here](/reference/react-compiler/configuration#react-17-18).
+React Compiler produce codice che dipende da API runtime aggiunte in React 19, ma da allora abbiamo aggiunto supporto per far funzionare il compiler anche con React 17 e 18. Se non sei ancora su React 19, nel rilascio Beta puoi ora provare React Compiler specificando un `target` minimo nella configurazione del compiler e aggiungendo `react-compiler-runtime` come dipendenza. [Puoi trovare la documentazione qui](/reference/react-compiler/configuration#react-17-18).
-## Using React Compiler in libraries {/*using-react-compiler-in-libraries*/}
+## Usare React Compiler nelle librerie {/*using-react-compiler-in-libraries*/}
-Our initial release was focused on identifying major issues with using the compiler in applications. We've gotten great feedback and have substantially improved the compiler since then. We're now ready for broad feedback from the community, and for library authors to try out the compiler to improve performance and the developer experience of maintaining your library.
+Il nostro rilascio iniziale era focalizzato sull'identificare problemi principali nell'uso del compiler nelle applicazioni. Abbiamo ricevuto ottimo feedback e abbiamo migliorato sostanzialmente il compiler da allora. Siamo ora pronti per un feedback ampio dalla community e per gli autori di librerie che provino il compiler per migliorare performance e developer experience nella manutenzione della libreria.
-React Compiler can also be used to compile libraries. Because React Compiler needs to run on the original source code prior to any code transformations, it is not possible for an application's build pipeline to compile the libraries they use. Hence, our recommendation is for library maintainers to independently compile and test their libraries with the compiler, and ship compiled code to npm.
+React Compiler può anche essere usato per compilare librerie. Poiché React Compiler deve girare sul codice sorgente originale prima di qualsiasi trasformazione, non è possibile che la pipeline di build di un'applicazione compili le librerie che usa. Quindi, la nostra raccomandazione è che i maintainer di librerie compilino e testino indipendentemente le proprie librerie con il compiler e distribuiscano codice compilato su npm.
-Because your code is pre-compiled, users of your library will not need to have the compiler enabled in order to benefit from the automatic memoization applied to your library. If your library targets apps not yet on React 19, specify a minimum `target` and add `react-compiler-runtime` as a direct dependency. The runtime package will use the correct implementation of APIs depending on the application's version, and polyfill the missing APIs if necessary.
+Poiché il tuo codice è pre-compilato, gli utenti della tua libreria non dovranno avere il compiler abilitato per beneficiare della memorizzazione automatica applicata alla libreria. Se la tua libreria punta ad app non ancora su React 19, specifica un `target` minimo e aggiungi `react-compiler-runtime` come dipendenza diretta. Il pacchetto runtime userà l'implementazione corretta delle API a seconda della versione dell'applicazione e polyfill le API mancanti se necessario.
-[You can find more docs on this here.](/reference/react-compiler/compiling-libraries)
+[Puoi trovare maggiori documenti qui.](/reference/react-compiler/compiling-libraries)
-## Opening up React Compiler Working Group to everyone {/*opening-up-react-compiler-working-group-to-everyone*/}
+## Apertura del React Compiler Working Group a tutti {/*opening-up-react-compiler-working-group-to-everyone*/}
-We previously announced the invite-only [React Compiler Working Group](https://github.com/reactwg/react-compiler) at React Conf to provide feedback, ask questions, and collaborate on the compiler's experimental release.
+Abbiamo annunciato in precedenza il [React Compiler Working Group](https://github.com/reactwg/react-compiler) su invito a React Conf per fornire feedback, porre domande e collaborare sul rilascio sperimentale del compiler.
-From today, together with the Beta release of React Compiler, we are opening up Working Group membership to everyone. The goal of the React Compiler Working Group is to prepare the ecosystem for a smooth, gradual adoption of React Compiler by existing applications and libraries. Please continue to file bug reports in the [React repo](https://github.com/react/react), but please leave feedback, ask questions, or share ideas in the [Working Group discussion forum](https://github.com/reactwg/react-compiler/discussions).
+Da oggi, insieme al rilascio Beta di React Compiler, apriamo l'iscrizione al Working Group a tutti. L'obiettivo del React Compiler Working Group è preparare l'ecosistema per un'adozione graduale e fluida di React Compiler da parte di applicazioni e librerie esistenti. Continua a segnalare bug nel [repo React](https://github.com/react/react), ma lascia feedback, fai domande o condividi idee nel [forum di discussione del Working Group](https://github.com/reactwg/react-compiler/discussions).
-The core team will also use the discussions repo to share our research findings. As the Stable Release gets closer, any important information will also be posted on this forum.
+Il core team userà anche il repo delle discussioni per condividere i risultati della ricerca. Man mano che il rilascio Stable si avvicina, qualsiasi informazione importante verrà pubblicata anche su questo forum.
-## React Compiler at Meta {/*react-compiler-at-meta*/}
+## React Compiler in Meta {/*react-compiler-at-meta*/}
-At [React Conf](/blog/2024/05/22/react-conf-2024-recap), we shared that our rollout of the compiler on Quest Store and Instagram were successful. Since then, we've deployed React Compiler across several more major web apps at Meta, including [Facebook](https://www.facebook.com) and [Threads](https://www.threads.net). That means if you've used any of these apps recently, you may have had your experience powered by the compiler. We were able to onboard these apps onto the compiler with few code changes required, in a monorepo with more than 100,000 React components.
+A [React Conf](/blog/2024/05/22/react-conf-2024-recap), abbiamo condiviso che il rollout del compiler su Quest Store e Instagram è andato a buon fine. Da allora, abbiamo distribuito React Compiler su diversi altri grandi web app in Meta, inclusi [Facebook](https://www.facebook.com) e [Threads](https://www.threads.net). Questo significa che se hai usato una di queste app di recente, la tua esperienza potrebbe essere stata alimentata dal compiler. Siamo riusciti a integrare queste app nel compiler con poche modifiche al codice, in un monorepo con più di 100.000 componenti React.
-We've seen notable performance improvements across all of these apps. As we've rolled out, we're continuing to see results on the order of [the wins we shared previously at ReactConf](https://youtu.be/lyEKhv8-3n0?t=3223). These apps have already been heavily hand tuned and optimized by Meta engineers and React experts over the years, so even improvements on the order of a few percent are a huge win for us.
+Abbiamo visto miglioramenti significativi delle performance su tutte queste app. Man mano che distribuiamo, continuiamo a vedere risultati dell'ordine di [i guadagni che abbiamo condiviso in precedenza a ReactConf](https://youtu.be/lyEKhv8-3n0?t=3223). Queste app erano già state pesantemente ottimizzate a mano da ingegneri Meta ed esperti React nel corso degli anni, quindi anche miglioramenti dell'ordine di qualche percento sono una grande vittoria per noi.
-We also expected developer productivity wins from React Compiler. To measure this, we collaborated with our data science partners at Meta[^2] to conduct a thorough statistical analysis of the impact of manual memoization on productivity. Before rolling out the compiler at Meta, we discovered that only about 8% of React pull requests used manual memoization and that these pull requests took 31-46% longer to author[^3]. This confirmed our intuition that manual memoization introduces cognitive overhead, and we anticipate that React Compiler will lead to more efficient code authoring and review. Notably, React Compiler also ensures that *all* code is memoized by default, not just the (in our case) 8% where developers explicitly apply memoization.
+Ci aspettavamo anche guadagni di produttività degli sviluppatori da React Compiler. Per misurarlo, abbiamo collaborato con i nostri partner data science in Meta[^2] per condurre un'analisi statistica approfondita dell'impatto della memorizzazione manuale sulla produttività. Prima del rollout del compiler in Meta, abbiamo scoperto che solo circa l'8% delle pull request React usava memorizzazione manuale e che queste pull request richiedevano il 31-46% in più di tempo per essere scritte[^3]. Questo ha confermato la nostra intuizione che la memorizzazione manuale introduce overhead cognitivo, e prevediamo che React Compiler porterà a scrittura e revisione del codice più efficienti. In particolare, React Compiler assicura anche che *tutto* il codice sia memorizzato per impostazione predefinita, non solo l'8% (nel nostro caso) in cui gli sviluppatori applicano esplicitamente la memorizzazione.
-## Roadmap to Stable {/*roadmap-to-stable*/}
+## Roadmap verso Stable {/*roadmap-to-stable*/}
-*This is not a final roadmap, and is subject to change.*
+*Questa non è una roadmap definitiva ed è soggetta a modifiche.*
-We intend to ship a Release Candidate of the compiler in the near future following the Beta release, when the majority of apps and libraries that follow the Rules of React have been proven to work well with the compiler. After a period of final feedback from the community, we plan on a Stable Release for the compiler. The Stable Release will mark the beginning of a new foundation for React, and all apps and libraries will be strongly recommended to use the compiler and ESLint plugin.
+Intendiamo distribuire un Release Candidate del compiler nel prossimo futuro dopo il rilascio Beta, quando la maggior parte di app e librerie che seguono le Rules of React avrà dimostrato di funzionare bene con il compiler. Dopo un periodo di feedback finale dalla community, prevediamo un rilascio Stable per il compiler. Il rilascio Stable segnerà l'inizio di una nuova base per React, e tutte le app e librerie saranno fortemente consigliate a usare il compiler e il plugin ESLint.
-* ✅ Experimental: Released at React Conf 2024, primarily for feedback from early adopters.
-* ✅ Public Beta: Available today, for feedback from the wider community.
-* 🚧 Release Candidate (RC): React Compiler works for the majority of rule-following apps and libraries without issue.
-* 🚧 General Availability: After final feedback period from the community.
+* ✅ Experimental: rilasciato a React Conf 2024, principalmente per feedback da early adopter.
+* ✅ Public Beta: disponibile oggi, per feedback dalla community più ampia.
+* 🚧 Release Candidate (RC): React Compiler funziona per la maggior parte di app e librerie che seguono le regole senza problemi.
+* 🚧 General Availability: dopo il periodo di feedback finale dalla community.
-These releases also include the compiler's ESLint plugin, which surfaces diagnostics statically analyzed by the compiler. We plan to combine the existing eslint-plugin-react-hooks plugin with the compiler's ESLint plugin, so only one plugin needs to be installed.
+Questi rilasci includono anche il plugin ESLint del compiler, che espone diagnostiche analizzate staticamente dal compiler. Prevediamo di combinare l'esistente plugin eslint-plugin-react-hooks con il plugin ESLint del compiler, così serve installare un solo plugin.
-Post-Stable, we plan to add more compiler optimizations and improvements. This includes both continual improvements to automatic memoization, and new optimizations altogether, with minimal to no change of product code. Upgrading to each new release of the compiler is aimed to be straightforward, and each upgrade will continue to improve performance and add better handling of diverse JavaScript and React patterns.
+Dopo Stable, prevediamo di aggiungere altre ottimizzazioni e miglioramenti al compiler. Questo include sia miglioramenti continui alla memorizzazione automatica sia nuove ottimizzazioni, con modifiche minime o nulle al codice di prodotto. L'upgrade a ogni nuovo rilascio del compiler è pensato per essere semplice, e ogni upgrade continuerà a migliorare le performance e ad aggiungere una gestione migliore di pattern JavaScript e React diversi.
-Throughout this process, we also plan to prototype an IDE extension for React. It is still very early in research, so we expect to be able to share more of our findings with you in a future React Labs blog post.
+Durante questo processo, prevediamo anche di prototipare un'estensione IDE per React. È ancora molto presto nella ricerca, quindi prevediamo di poter condividere più risultati in un futuro post React Labs.
---
-Thanks to [Sathya Gunasekaran](https://twitter.com/_gsathya), [Joe Savona](https://twitter.com/en_JS), [Ricky Hanlon](https://twitter.com/rickhanlonii), [Alex Taylor](https://github.com/alexmckenley), [Jason Bonta](https://twitter.com/someextent), and [Eli White](https://twitter.com/Eli_White) for reviewing and editing this post.
+Grazie a [Sathya Gunasekaran](https://twitter.com/_gsathya), [Joe Savona](https://twitter.com/en_JS), [Ricky Hanlon](https://twitter.com/rickhanlonii), [Alex Taylor](https://github.com/alexmckenley), [Jason Bonta](https://twitter.com/someextent) e [Eli White](https://twitter.com/Eli_White) per la revisione e l'editing di questo post.
---
-[^1]: Thanks [@nikeee](https://github.com/react/react/pulls?q=is%3Apr+author%3Anikeee), [@henryqdineen](https://github.com/react/react/pulls?q=is%3Apr+author%3Ahenryqdineen), [@TrickyPi](https://github.com/react/react/pulls?q=is%3Apr+author%3ATrickyPi), and several others for their contributions to the compiler.
+[^1]: Grazie a [@nikeee](https://github.com/react/react/pulls?q=is%3Apr+author%3Anikeee), [@henryqdineen](https://github.com/react/react/pulls?q=is%3Apr+author%3Ahenryqdineen), [@TrickyPi](https://github.com/react/react/pulls?q=is%3Apr+author%3ATrickyPi) e altri per i loro contributi al compiler.
-[^2]: Thanks [Vaishali Garg](https://www.linkedin.com/in/vaishaligarg09) for leading this study on React Compiler at Meta, and for reviewing this post.
+[^2]: Grazie a [Vaishali Garg](https://www.linkedin.com/in/vaishaligarg09) per aver guidato questo studio su React Compiler in Meta e per la revisione di questo post.
-[^3]: After controlling on author tenure, diff length/complexity, and other potential confounding factors.
\ No newline at end of file
+[^3]: Dopo aver controllato per anzianità dell'autore, lunghezza/complessità del diff e altri potenziali fattori confondenti.
diff --git a/src/content/blog/2024/12/05/react-19.md b/src/content/blog/2024/12/05/react-19.md
index 93ac0c360..115eccc58 100644
--- a/src/content/blog/2024/12/05/react-19.md
+++ b/src/content/blog/2024/12/05/react-19.md
@@ -2,48 +2,56 @@
title: "React v19"
author: The React Team
date: 2024/12/05
-description: React 19 is now available on npm! In this post, we'll give an overview of the new features in React 19, and how you can adopt them.
+description: React 19 è ora disponibile su npm! In questo post presentiamo una panoramica delle nuove funzionalità di React 19 e di come adottarle.
+translationStatus: ai-draft
---
-December 05, 2024 by [The React Team](/community/team)
+5 dicembre 2024 del [React Team](/community/team)
---
+
+
+
+Questa pagina è stata tradotta automaticamente e supervisionata da un maintainer. Un'ulteriore revisione da parte della community sarebbe comunque utile. [Migliora questa traduzione](https://github.com/reactjs/it.react.dev/edit/main/src/content/blog/2024/12/05/react-19.md).
+
+
+
-### React 19 is now stable! {/*react-19-is-now-stable*/}
+### React 19 è ora stabile! {/*react-19-is-now-stable*/}
-Additions since this post was originally shared with the React 19 RC in April:
+Aggiunte da quando questo post è stato condiviso originariamente con la React 19 RC ad aprile:
-- **Pre-warming for suspended trees**: see [Improvements to Suspense](/blog/2024/04/25/react-19-upgrade-guide#improvements-to-suspense).
-- **React DOM static APIs**: see [New React DOM Static APIs](#new-react-dom-static-apis).
+- **Pre-warming per alberi sospesi**: vedi [Miglioramenti a Suspense](/blog/2024/04/25/react-19-upgrade-guide#improvements-to-suspense).
+- **API statiche React DOM**: vedi [Nuove API statiche React DOM](#new-react-dom-static-apis).
-_The date for this post has been updated to reflect the stable release date._
+_La data di questo post è stata aggiornata per riflettere la data del rilascio stabile._
-React v19 is now available on npm!
+React v19 è ora disponibile su npm!
-In our [React 19 Upgrade Guide](/blog/2024/04/25/react-19-upgrade-guide), we shared step-by-step instructions for upgrading your app to React 19. In this post, we'll give an overview of the new features in React 19, and how you can adopt them.
+Nella nostra [Guida all'upgrade a React 19](/blog/2024/04/25/react-19-upgrade-guide), abbiamo condiviso istruzioni passo passo per aggiornare la tua app a React 19. In questo post presentiamo una panoramica delle nuove funzionalità di React 19 e di come adottarle.
-- [What's new in React 19](#whats-new-in-react-19)
-- [Improvements in React 19](#improvements-in-react-19)
-- [How to upgrade](#how-to-upgrade)
+- [Novità in React 19](#whats-new-in-react-19)
+- [Miglioramenti in React 19](#improvements-in-react-19)
+- [Come effettuare l'upgrade](#how-to-upgrade)
-For a list of breaking changes, see the [Upgrade Guide](/blog/2024/04/25/react-19-upgrade-guide).
+Per l'elenco delle breaking change, consulta la [Guida all'upgrade](/blog/2024/04/25/react-19-upgrade-guide).
---
-## What's new in React 19 {/*whats-new-in-react-19*/}
+## Novità in React 19 {/*whats-new-in-react-19*/}
### Actions {/*actions*/}
-A common use case in React apps is to perform a data mutation and then update state in response. For example, when a user submits a form to change their name, you will make an API request, and then handle the response. In the past, you would need to handle pending states, errors, optimistic updates, and sequential requests manually.
+Un caso d'uso comune nelle app React è eseguire una mutazione dati e poi aggiornare lo state in risposta. Ad esempio, quando un utente invia un form per cambiare il nome, farai una richiesta API e poi gestirai la risposta. In passato, avresti dovuto gestire manualmente state pending, errori, aggiornamenti ottimistici e richieste sequenziali.
-For example, you could handle the pending and error state in `useState`:
+Ad esempio, potevi gestire lo state pending e di errore in `useState`:
```js
// Before Actions
@@ -75,9 +83,9 @@ function UpdateName({}) {
}
```
-In React 19, we're adding support for using async functions in transitions to handle pending states, errors, forms, and optimistic updates automatically.
+In React 19 aggiungiamo supporto per usare funzioni async nelle transition per gestire automaticamente state pending, errori, form e aggiornamenti ottimistici.
-For example, you can use `useTransition` to handle the pending state for you:
+Ad esempio, puoi usare `useTransition` per gestire lo state pending per te:
```js
// Using pending state from Actions
@@ -109,24 +117,24 @@ function UpdateName({}) {
}
```
-The async transition will immediately set the `isPending` state to true, make the async request(s), and switch `isPending` to false after any transitions. This allows you to keep the current UI responsive and interactive while the data is changing.
+La transition async imposterà immediatamente lo state `isPending` a true, eseguirà le richieste async e imposterà `isPending` a false dopo le transition. Questo ti permette di mantenere l'UI corrente reattiva e interattiva mentre i dati cambiano.
-#### By convention, functions that use async transitions are called "Actions". {/*by-convention-functions-that-use-async-transitions-are-called-actions*/}
+#### Per convenzione, le funzioni che usano async transition si chiamano "Actions". {/*by-convention-functions-that-use-async-transitions-are-called-actions*/}
-Actions automatically manage submitting data for you:
+Le Actions gestiscono automaticamente l'invio dei dati per te:
-- **Pending state**: Actions provide a pending state that starts at the beginning of a request and automatically resets when the final state update is committed.
-- **Optimistic updates**: Actions support the new [`useOptimistic`](#new-hook-optimistic-updates) hook so you can show users instant feedback while the requests are submitting.
-- **Error handling**: Actions provide error handling so you can display Error Boundaries when a request fails, and revert optimistic updates to their original value automatically.
-- **Forms**: `
-Building on top of Actions, React 19 introduces [`useOptimistic`](#new-hook-optimistic-updates) to manage optimistic updates, and a new hook [`React.useActionState`](#new-hook-useactionstate) to handle common cases for Actions. In `react-dom` we're adding [`