diff --git a/GLOSSARY.md b/GLOSSARY.md index 4a98d6f62..9f2a41104 100644 --- a/GLOSSARY.md +++ b/GLOSSARY.md @@ -5,6 +5,8 @@ Glossary of the translations of technical and React-specific terms. ## Untranslatable terms - props (**core concept**) - state (**core concept**) +- hooks (**core concept**) +- ref (**core concept**) - footer - bug - browser @@ -21,6 +23,10 @@ Glossary of the translations of technical and React-specific terms. - console - warning - form/forms +- render props +- strict mode +- web components +- build steps # Common Translations diff --git a/content/blog/2015-12-18-react-components-elements-and-instances.md b/content/blog/2015-12-18-react-components-elements-and-instances.md index dd71836d0..9cb4ea25b 100644 --- a/content/blog/2015-12-18-react-components-elements-and-instances.md +++ b/content/blog/2015-12-18-react-components-elements-and-instances.md @@ -350,7 +350,7 @@ React will ask the `Form` component what element tree it returns, given those `p } ``` -This is a part of the process that React calls [reconciliation](/docs/reconciliation.html) which starts when you call [`ReactDOM.render()`](/docs/top-level-api.html#reactdom.render) or [`setState()`](/docs/component-api.html#setstate). By the end of the reconciliation, React knows the result DOM tree, and a renderer like `react-dom` or `react-native` applies the minimal set of changes necessary to update the DOM nodes (or the platform-specific views in case of React Native). +This is a part of the process that React calls [riconciliazione](/docs/reconciliation.html) which starts when you call [`ReactDOM.render()`](/docs/top-level-api.html#reactdom.render) or [`setState()`](/docs/component-api.html#setstate). By the end of the reconciliation, React knows the result DOM tree, and a renderer like `react-dom` or `react-native` applies the minimal set of changes necessary to update the DOM nodes (or the platform-specific views in case of React Native). This gradual refining process is also the reason React apps are easy to optimize. If some parts of your component tree become too large for React to visit efficiently, you can tell it to [skip this “refining” and diffing certain parts of the tree if the relevant props have not changed](/docs/advanced-performance.html). It is very fast to calculate whether the props have changed if they are immutable, so React and immutability work great together, and can provide great optimizations with the minimal effort. diff --git a/content/blog/2017-09-08-dom-attributes-in-react-16.md b/content/blog/2017-09-08-dom-attributes-in-react-16.md index 31c66e53e..54c091fec 100644 --- a/content/blog/2017-09-08-dom-attributes-in-react-16.md +++ b/content/blog/2017-09-08-dom-attributes-in-react-16.md @@ -80,7 +80,7 @@ Just like before, React lets you pass `data-` and `aria-` attributes freely: This has not changed. -[Accessibility](/docs/accessibility.html) is very important, so even though React 16 passes any attributes through, it still validates that `aria-` props have correct names in development mode, just like React 15 did. +[Accessibilità](/docs/accessibility.html) is very important, so even though React 16 passes any attributes through, it still validates that `aria-` props have correct names in development mode, just like React 15 did. ## Migration Path {#migration-path} diff --git a/content/docs/accessibility.md b/content/docs/accessibility.md index e6cacba3b..c4056da1a 100644 --- a/content/docs/accessibility.md +++ b/content/docs/accessibility.md @@ -1,6 +1,6 @@ --- id: accessibility -title: Accessibility +title: Accessibilità permalink: docs/accessibility.html --- diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index a97b44d45..746999e2b 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -1,6 +1,6 @@ --- id: add-react-to-a-website -title: Add React to a Website +title: Aggiungere React Ad Un Sito permalink: docs/add-react-to-a-website.html redirect_from: - "docs/add-react-to-an-existing-app.html" diff --git a/content/docs/addons-animation.md b/content/docs/addons-animation.md index a619af76e..913396833 100644 --- a/content/docs/addons-animation.md +++ b/content/docs/addons-animation.md @@ -173,7 +173,7 @@ It is also possible to use custom class names for each of the steps in your tran In order for it to apply transitions to its children, the `ReactCSSTransitionGroup` must already be mounted in the DOM or the prop `transitionAppear` must be set to `true`. -The example below would **not** work, because the `ReactCSSTransitionGroup` is being mounted along with the new item, instead of the new item being mounted within it. Compare this to the [Getting Started](#getting-started) section above to see the difference. +The example below would **not** work, because the `ReactCSSTransitionGroup` is being mounted along with the new item, instead of the new item being mounted within it. Compare this to the [Primi Passi](#getting-started) section above to see the difference. ```javascript{4,6,13} render() { diff --git a/content/docs/cdn-links.md b/content/docs/cdn-links.md index 73e3e8171..506adbb93 100644 --- a/content/docs/cdn-links.md +++ b/content/docs/cdn-links.md @@ -1,6 +1,6 @@ --- id: cdn-links -title: CDN Links +title: Collegamenti a CDN permalink: docs/cdn-links.html prev: create-a-new-react-app.html next: hello-world.html diff --git a/content/docs/codebase-overview.md b/content/docs/codebase-overview.md index f80264aa8..aa7a0edb6 100644 --- a/content/docs/codebase-overview.md +++ b/content/docs/codebase-overview.md @@ -1,6 +1,6 @@ --- id: codebase-overview -title: Codebase Overview +title: Panoramica sul Codice layout: contributing permalink: docs/codebase-overview.html prev: how-to-contribute.html @@ -165,7 +165,7 @@ The "core" of React includes all the [top-level `React` APIs](/docs/top-level-ap * `React.Component` * `React.Children` -**React core only includes the APIs necessary to define components.** It does not include the [reconciliation](/docs/reconciliation.html) algorithm or any platform-specific code. It is used both by React DOM and React Native components. +**React core only includes the APIs necessary to define components.** It does not include the [riconciliazione](/docs/reconciliation.html) algorithm or any platform-specific code. It is used both by React DOM and React Native components. The code for React core is located in [`packages/react`](https://github.com/facebook/react/tree/master/packages/react) in the source tree. It is available on npm as the [`react`](https://www.npmjs.com/package/react) package. The corresponding standalone browser build is called `react.js`, and it exports a global called `React`. @@ -189,7 +189,7 @@ The only other officially supported renderer is [`react-art`](https://github.com ### Reconcilers {#reconcilers} -Even vastly different renderers like React DOM and React Native need to share a lot of logic. In particular, the [reconciliation](/docs/reconciliation.html) algorithm should be as similar as possible so that declarative rendering, custom components, state, lifecycle methods, and refs work consistently across platforms. +Even vastly different renderers like React DOM and React Native need to share a lot of logic. In particular, the [riconciliazione](/docs/reconciliation.html) algorithm should be as similar as possible so that declarative rendering, custom components, state, lifecycle methods, and refs work consistently across platforms. To solve this, different renderers share some code between them. We call this part of React a "reconciler". When an update such as `setState()` is scheduled, the reconciler calls `render()` on components in the tree and mounts, updates, or unmounts them. diff --git a/content/docs/create-a-new-react-app.md b/content/docs/create-a-new-react-app.md index e1985e72f..9db6dce8b 100644 --- a/content/docs/create-a-new-react-app.md +++ b/content/docs/create-a-new-react-app.md @@ -1,6 +1,6 @@ --- id: create-a-new-react-app -title: Create a New React App +title: Creare una Nuova App React permalink: docs/create-a-new-react-app.html redirect_from: - "docs/add-react-to-a-new-app.html" diff --git a/content/docs/design-principles.md b/content/docs/design-principles.md index 936ed7548..5f6adaf60 100644 --- a/content/docs/design-principles.md +++ b/content/docs/design-principles.md @@ -1,6 +1,6 @@ --- id: design-principles -title: Design Principles +title: Principi di Design layout: contributing permalink: docs/design-principles.html prev: implementation-notes.html diff --git a/content/docs/faq-ajax.md b/content/docs/faq-ajax.md index 102e1c07e..996ebc810 100644 --- a/content/docs/faq-ajax.md +++ b/content/docs/faq-ajax.md @@ -1,6 +1,6 @@ --- id: faq-ajax -title: AJAX and APIs +title: AJAX ed APIs permalink: docs/faq-ajax.html layout: docs category: FAQ diff --git a/content/docs/faq-functions.md b/content/docs/faq-functions.md index 75143c43f..1323591ae 100644 --- a/content/docs/faq-functions.md +++ b/content/docs/faq-functions.md @@ -1,6 +1,6 @@ --- id: faq-functions -title: Passing Functions to Components +title: Passare Funzioni ai Componenti permalink: docs/faq-functions.html layout: docs category: FAQ diff --git a/content/docs/faq-internals.md b/content/docs/faq-internals.md index da7f96be0..a2133cdc6 100644 --- a/content/docs/faq-internals.md +++ b/content/docs/faq-internals.md @@ -1,6 +1,6 @@ --- id: faq-internals -title: Virtual DOM and Internals +title: Virtual DOM ed Interni permalink: docs/faq-internals.html layout: docs category: FAQ @@ -8,7 +8,7 @@ category: FAQ ### What is the Virtual DOM? {#what-is-the-virtual-dom} -The virtual DOM (VDOM) is a programming concept where an ideal, or "virtual", representation of a UI is kept in memory and synced with the "real" DOM by a library such as ReactDOM. This process is called [reconciliation](/docs/reconciliation.html). +The virtual DOM (VDOM) is a programming concept where an ideal, or "virtual", representation of a UI is kept in memory and synced with the "real" DOM by a library such as ReactDOM. This process is called [riconciliazione](/docs/reconciliation.html). This approach enables the declarative API of React: You tell React what state you want the UI to be in, and it makes sure the DOM matches that state. This abstracts out the attribute manipulation, event handling, and manual DOM updating that you would otherwise have to use to build your app. diff --git a/content/docs/faq-state.md b/content/docs/faq-state.md index c2b7b6657..89bb8a416 100644 --- a/content/docs/faq-state.md +++ b/content/docs/faq-state.md @@ -1,6 +1,6 @@ --- id: faq-state -title: Component State +title: State dei Componenti permalink: docs/faq-state.html layout: docs category: FAQ diff --git a/content/docs/faq-structure.md b/content/docs/faq-structure.md index 4241a04dd..1e3627fa0 100644 --- a/content/docs/faq-structure.md +++ b/content/docs/faq-structure.md @@ -1,6 +1,6 @@ --- id: faq-structure -title: File Structure +title: Struttura dei File permalink: docs/faq-structure.html layout: docs category: FAQ diff --git a/content/docs/faq-styling.md b/content/docs/faq-styling.md index ddc955e3d..317f19a96 100644 --- a/content/docs/faq-styling.md +++ b/content/docs/faq-styling.md @@ -1,6 +1,6 @@ --- id: faq-styling -title: Styling and CSS +title: Stili e CSS permalink: docs/faq-styling.html layout: docs category: FAQ diff --git a/content/docs/faq-versioning.md b/content/docs/faq-versioning.md index b51ea4895..6de2613fc 100644 --- a/content/docs/faq-versioning.md +++ b/content/docs/faq-versioning.md @@ -1,6 +1,6 @@ --- id: faq-versioning -title: Versioning Policy +title: Regole di Versionamento permalink: docs/faq-versioning.html layout: docs category: FAQ diff --git a/content/docs/forwarding-refs.md b/content/docs/forwarding-refs.md index 3318d8499..edada2741 100644 --- a/content/docs/forwarding-refs.md +++ b/content/docs/forwarding-refs.md @@ -1,6 +1,6 @@ --- id: forwarding-refs -title: Forwarding Refs +title: Inoltrare Refs permalink: docs/forwarding-refs.html --- diff --git a/content/docs/fragments.md b/content/docs/fragments.md index 04de0463b..c5ef2338e 100644 --- a/content/docs/fragments.md +++ b/content/docs/fragments.md @@ -1,6 +1,6 @@ --- id: fragments -title: Fragments +title: Frammenti permalink: docs/fragments.html --- diff --git a/content/docs/getting-started.md b/content/docs/getting-started.md index 92993a8a0..643b54e2f 100644 --- a/content/docs/getting-started.md +++ b/content/docs/getting-started.md @@ -1,6 +1,6 @@ --- id: getting-started -title: Getting Started +title: Primi Passi permalink: docs/getting-started.html next: add-react-to-a-website.html redirect_from: diff --git a/content/docs/higher-order-components.md b/content/docs/higher-order-components.md index a7a123abe..6b8064b36 100644 --- a/content/docs/higher-order-components.md +++ b/content/docs/higher-order-components.md @@ -1,6 +1,6 @@ --- id: higher-order-components -title: Higher-Order Components +title: Componenti di Ordine Superiore permalink: docs/higher-order-components.html --- @@ -320,7 +320,7 @@ Higher-order components come with a few caveats that aren't immediately obvious ### Don't Use HOCs Inside the render Method {#dont-use-hocs-inside-the-render-method} -React's diffing algorithm (called reconciliation) uses component identity to determine whether it should update the existing subtree or throw it away and mount a new one. If the component returned from `render` is identical (`===`) to the component from the previous render, React recursively updates the subtree by diffing it with the new one. If they're not equal, the previous subtree is unmounted completely. +React's diffing algorithm (called riconciliazione) uses component identity to determine whether it should update the existing subtree or throw it away and mount a new one. If the component returned from `render` is identical (`===`) to the component from the previous render, React recursively updates the subtree by diffing it with the new one. If they're not equal, the previous subtree is unmounted completely. Normally, you shouldn't need to think about this. But it matters for HOCs because it means you can't apply a HOC to a component within the render method of a component: diff --git a/content/docs/hooks-custom.md b/content/docs/hooks-custom.md index a252ac3f3..0708662bb 100644 --- a/content/docs/hooks-custom.md +++ b/content/docs/hooks-custom.md @@ -1,6 +1,6 @@ --- id: hooks-custom -title: Building Your Own Hooks +title: Hooks Personalizzati permalink: docs/hooks-custom.html next: hooks-reference.html prev: hooks-rules.html diff --git a/content/docs/hooks-effect.md b/content/docs/hooks-effect.md index 73d6a3d2c..9206c8e08 100644 --- a/content/docs/hooks-effect.md +++ b/content/docs/hooks-effect.md @@ -1,6 +1,6 @@ --- id: hooks-state -title: Using the Effect Hook +title: Usare l'Hook Effect permalink: docs/hooks-effect.html next: hooks-rules.html prev: hooks-state.html diff --git a/content/docs/hooks-faq.md b/content/docs/hooks-faq.md index 7d2953293..c030ead07 100644 --- a/content/docs/hooks-faq.md +++ b/content/docs/hooks-faq.md @@ -1,6 +1,6 @@ --- id: hooks-faq -title: Hooks FAQ +title: FAQ sugli Hooks permalink: docs/hooks-faq.html prev: hooks-reference.html --- @@ -18,44 +18,44 @@ This page answers some of the frequently asked questions about [Hooks](/docs/hoo ).join('\n') --> -* **[Adoption Strategy](#adoption-strategy)** - * [Which versions of React include Hooks?](#which-versions-of-react-include-hooks) - * [Do I need to rewrite all my class components?](#do-i-need-to-rewrite-all-my-class-components) - * [What can I do with Hooks that I couldn't with classes?](#what-can-i-do-with-hooks-that-i-couldnt-with-classes) - * [How much of my React knowledge stays relevant?](#how-much-of-my-react-knowledge-stays-relevant) - * [Should I use Hooks, classes, or a mix of both?](#should-i-use-hooks-classes-or-a-mix-of-both) - * [Do Hooks cover all use cases for classes?](#do-hooks-cover-all-use-cases-for-classes) - * [Do Hooks replace render props and higher-order components?](#do-hooks-replace-render-props-and-higher-order-components) - * [What do Hooks mean for popular APIs like Redux connect() and React Router?](#what-do-hooks-mean-for-popular-apis-like-redux-connect-and-react-router) - * [Do Hooks work with static typing?](#do-hooks-work-with-static-typing) - * [How to test components that use Hooks?](#how-to-test-components-that-use-hooks) - * [What exactly do the lint rules enforce?](#what-exactly-do-the-lint-rules-enforce) -* **[From Classes to Hooks](#from-classes-to-hooks)** - * [How do lifecycle methods correspond to Hooks?](#how-do-lifecycle-methods-correspond-to-hooks) - * [How can I do data fetching with Hooks?](#how-can-i-do-data-fetching-with-hooks) - * [Is there something like instance variables?](#is-there-something-like-instance-variables) - * [Should I use one or many state variables?](#should-i-use-one-or-many-state-variables) - * [Can I run an effect only on updates?](#can-i-run-an-effect-only-on-updates) - * [How to get the previous props or state?](#how-to-get-the-previous-props-or-state) - * [Why am I seeing stale props or state inside my function?](#why-am-i-seeing-stale-props-or-state-inside-my-function) - * [How do I implement getDerivedStateFromProps?](#how-do-i-implement-getderivedstatefromprops) - * [Is there something like forceUpdate?](#is-there-something-like-forceupdate) - * [Can I make a ref to a function component?](#can-i-make-a-ref-to-a-function-component) - * [How can I measure a DOM node?](#how-can-i-measure-a-dom-node) - * [What does const [thing, setThing] = useState() mean?](#what-does-const-thing-setthing--usestate-mean) -* **[Performance Optimizations](#performance-optimizations)** - * [Can I skip an effect on updates?](#can-i-skip-an-effect-on-updates) - * [Is it safe to omit functions from the list of dependencies?](#is-it-safe-to-omit-functions-from-the-list-of-dependencies) - * [What can I do if my effect dependencies change too often?](#what-can-i-do-if-my-effect-dependencies-change-too-often) - * [How do I implement shouldComponentUpdate?](#how-do-i-implement-shouldcomponentupdate) - * [How to memoize calculations?](#how-to-memoize-calculations) - * [How to create expensive objects lazily?](#how-to-create-expensive-objects-lazily) - * [Are Hooks slow because of creating functions in render?](#are-hooks-slow-because-of-creating-functions-in-render) - * [How to avoid passing callbacks down?](#how-to-avoid-passing-callbacks-down) - * [How to read an often-changing value from useCallback?](#how-to-read-an-often-changing-value-from-usecallback) -* **[Under the Hood](#under-the-hood)** - * [How does React associate Hook calls with components?](#how-does-react-associate-hook-calls-with-components) - * [What is the prior art for Hooks?](#what-is-the-prior-art-for-hooks) +- [Adoption Strategy {#adoption-strategy}](#adoption-strategy-adoption-strategy) + - [Which versions of React include Hooks? {#which-versions-of-react-include-hooks}](#which-versions-of-react-include-hooks-which-versions-of-react-include-hooks) + - [Do I need to rewrite all my class components? {#do-i-need-to-rewrite-all-my-class-components}](#do-i-need-to-rewrite-all-my-class-components-do-i-need-to-rewrite-all-my-class-components) + - [What can I do with Hooks that I couldn't with classes? {#what-can-i-do-with-hooks-that-i-couldnt-with-classes}](#what-can-i-do-with-hooks-that-i-couldnt-with-classes-what-can-i-do-with-hooks-that-i-couldnt-with-classes) + - [How much of my React knowledge stays relevant? {#how-much-of-my-react-knowledge-stays-relevant}](#how-much-of-my-react-knowledge-stays-relevant-how-much-of-my-react-knowledge-stays-relevant) + - [Should I use Hooks, classes, or a mix of both? {#should-i-use-hooks-classes-or-a-mix-of-both}](#should-i-use-hooks-classes-or-a-mix-of-both-should-i-use-hooks-classes-or-a-mix-of-both) + - [Do Hooks cover all use cases for classes? {#do-hooks-cover-all-use-cases-for-classes}](#do-hooks-cover-all-use-cases-for-classes-do-hooks-cover-all-use-cases-for-classes) + - [Do Hooks replace render props and higher-order components? {#do-hooks-replace-render-props-and-higher-order-components}](#do-hooks-replace-render-props-and-higher-order-components-do-hooks-replace-render-props-and-higher-order-components) + - [What do Hooks mean for popular APIs like Redux `connect()` and React Router? {#what-do-hooks-mean-for-popular-apis-like-redux-connect-and-react-router}](#what-do-hooks-mean-for-popular-apis-like-redux-connect-and-react-router-what-do-hooks-mean-for-popular-apis-like-redux-connect-and-react-router) + - [Do Hooks work with static typing? {#do-hooks-work-with-static-typing}](#do-hooks-work-with-static-typing-do-hooks-work-with-static-typing) + - [How to test components that use Hooks? {#how-to-test-components-that-use-hooks}](#how-to-test-components-that-use-hooks-how-to-test-components-that-use-hooks) + - [What exactly do the lint rules enforce? {#what-exactly-do-the-lint-rules-enforce}](#what-exactly-do-the-lint-rules-enforce-what-exactly-do-the-lint-rules-enforce) +- [From Classes to Hooks {#from-classes-to-hooks}](#from-classes-to-hooks-from-classes-to-hooks) + - [How do lifecycle methods correspond to Hooks? {#how-do-lifecycle-methods-correspond-to-hooks}](#how-do-lifecycle-methods-correspond-to-hooks-how-do-lifecycle-methods-correspond-to-hooks) + - [How can I do data fetching with Hooks?](#how-can-i-do-data-fetching-with-hooks) + - [Is there something like instance variables? {#is-there-something-like-instance-variables}](#is-there-something-like-instance-variables-is-there-something-like-instance-variables) + - [Should I use one or many state variables? {#should-i-use-one-or-many-state-variables}](#should-i-use-one-or-many-state-variables-should-i-use-one-or-many-state-variables) + - [Can I run an effect only on updates? {#can-i-run-an-effect-only-on-updates}](#can-i-run-an-effect-only-on-updates-can-i-run-an-effect-only-on-updates) + - [How to get the previous props or state? {#how-to-get-the-previous-props-or-state}](#how-to-get-the-previous-props-or-state-how-to-get-the-previous-props-or-state) + - [Why am I seeing stale props or state inside my function? {#why-am-i-seeing-stale-props-or-state-inside-my-function}](#why-am-i-seeing-stale-props-or-state-inside-my-function-why-am-i-seeing-stale-props-or-state-inside-my-function) + - [How do I implement `getDerivedStateFromProps`? {#how-do-i-implement-getderivedstatefromprops}](#how-do-i-implement-getderivedstatefromprops-how-do-i-implement-getderivedstatefromprops) + - [Is there something like forceUpdate? {#is-there-something-like-forceupdate}](#is-there-something-like-forceupdate-is-there-something-like-forceupdate) + - [Can I make a ref to a function component? {#can-i-make-a-ref-to-a-function-component}](#can-i-make-a-ref-to-a-function-component-can-i-make-a-ref-to-a-function-component) + - [How can I measure a DOM node? {#how-can-i-measure-a-dom-node}](#how-can-i-measure-a-dom-node-how-can-i-measure-a-dom-node) + - [What does `const [thing, setThing] = useState()` mean? {#what-does-const-thing-setthing--usestate-mean}](#what-does-const-thing-setthing--usestate-mean-what-does-const-thing-setthing--usestate-mean) +- [Performance Optimizations {#performance-optimizations}](#performance-optimizations-performance-optimizations) + - [Can I skip an effect on updates? {#can-i-skip-an-effect-on-updates}](#can-i-skip-an-effect-on-updates-can-i-skip-an-effect-on-updates) + - [Is it safe to omit functions from the list of dependencies? {#is-it-safe-to-omit-functions-from-the-list-of-dependencies}](#is-it-safe-to-omit-functions-from-the-list-of-dependencies-is-it-safe-to-omit-functions-from-the-list-of-dependencies) + - [What can I do if my effect dependencies change too often?](#what-can-i-do-if-my-effect-dependencies-change-too-often) + - [How do I implement `shouldComponentUpdate`? {#how-do-i-implement-shouldcomponentupdate}](#how-do-i-implement-shouldcomponentupdate-how-do-i-implement-shouldcomponentupdate) + - [How to memoize calculations? {#how-to-memoize-calculations}](#how-to-memoize-calculations-how-to-memoize-calculations) + - [How to create expensive objects lazily? {#how-to-create-expensive-objects-lazily}](#how-to-create-expensive-objects-lazily-how-to-create-expensive-objects-lazily) + - [Are Hooks slow because of creating functions in render? {#are-hooks-slow-because-of-creating-functions-in-render}](#are-hooks-slow-because-of-creating-functions-in-render-are-hooks-slow-because-of-creating-functions-in-render) + - [How to avoid passing callbacks down? {#how-to-avoid-passing-callbacks-down}](#how-to-avoid-passing-callbacks-down-how-to-avoid-passing-callbacks-down) + - [How to read an often-changing value from `useCallback`? {#how-to-read-an-often-changing-value-from-usecallback}](#how-to-read-an-often-changing-value-from-usecallback-how-to-read-an-often-changing-value-from-usecallback) +- [Under the Hood {#under-the-hood}](#under-the-hood-under-the-hood) + - [How does React associate Hook calls with components? {#how-does-react-associate-hook-calls-with-components}](#how-does-react-associate-hook-calls-with-components-how-does-react-associate-hook-calls-with-components) + - [What is the prior art for Hooks? {#what-is-the-prior-art-for-hooks}](#what-is-the-prior-art-for-hooks-what-is-the-prior-art-for-hooks) ## Adoption Strategy {#adoption-strategy} diff --git a/content/docs/hooks-intro.md b/content/docs/hooks-intro.md index 9470d614d..d6697aafa 100644 --- a/content/docs/hooks-intro.md +++ b/content/docs/hooks-intro.md @@ -1,6 +1,6 @@ --- id: hooks-intro -title: Introducing Hooks +title: Introduzione agli Hooks permalink: docs/hooks-intro.html next: hooks-overview.html --- diff --git a/content/docs/hooks-overview.md b/content/docs/hooks-overview.md index df958dc6d..8224c3a67 100644 --- a/content/docs/hooks-overview.md +++ b/content/docs/hooks-overview.md @@ -1,6 +1,6 @@ --- id: hooks-overview -title: Hooks at a Glance +title: Panoramica sugli Hooks permalink: docs/hooks-overview.html next: hooks-state.html prev: hooks-intro.html diff --git a/content/docs/hooks-reference.md b/content/docs/hooks-reference.md index 98c2e14c0..fe4cd3975 100644 --- a/content/docs/hooks-reference.md +++ b/content/docs/hooks-reference.md @@ -1,6 +1,6 @@ --- id: hooks-reference -title: Hooks API Reference +title: API di Riferimento degli Hooks permalink: docs/hooks-reference.html prev: hooks-custom.html next: hooks-faq.html diff --git a/content/docs/hooks-rules.md b/content/docs/hooks-rules.md index dbac9cffd..cdfee8bc7 100644 --- a/content/docs/hooks-rules.md +++ b/content/docs/hooks-rules.md @@ -1,6 +1,6 @@ --- id: hooks-rules -title: Rules of Hooks +title: Regole degli Hooks permalink: docs/hooks-rules.html next: hooks-custom.html prev: hooks-effect.html diff --git a/content/docs/hooks-state.md b/content/docs/hooks-state.md index 052aecb33..8fe037efa 100644 --- a/content/docs/hooks-state.md +++ b/content/docs/hooks-state.md @@ -1,6 +1,6 @@ --- id: hooks-state -title: Using the State Hook +title: Usare l'Hook State permalink: docs/hooks-state.html next: hooks-effect.html prev: hooks-overview.html diff --git a/content/docs/how-to-contribute.md b/content/docs/how-to-contribute.md index 46d5d626a..1aab09f39 100644 --- a/content/docs/how-to-contribute.md +++ b/content/docs/how-to-contribute.md @@ -1,6 +1,6 @@ --- id: how-to-contribute -title: How to Contribute +title: Come Contribuire layout: contributing permalink: docs/how-to-contribute.html next: codebase-overview.html diff --git a/content/docs/implementation-notes.md b/content/docs/implementation-notes.md index a035a5edf..2f766b123 100644 --- a/content/docs/implementation-notes.md +++ b/content/docs/implementation-notes.md @@ -1,6 +1,6 @@ --- id: implementation-notes -title: Implementation Notes +title: Note sull'Implementazione layout: contributing permalink: docs/implementation-notes.html prev: codebase-overview.html diff --git a/content/docs/integrating-with-other-libraries.md b/content/docs/integrating-with-other-libraries.md index 5bc8b2570..fb2128a78 100644 --- a/content/docs/integrating-with-other-libraries.md +++ b/content/docs/integrating-with-other-libraries.md @@ -1,6 +1,6 @@ --- id: integrating-with-other-libraries -title: Integrating with Other Libraries +title: Integrazione Con Altre Librerie permalink: docs/integrating-with-other-libraries.html --- diff --git a/content/docs/jsx-in-depth.md b/content/docs/jsx-in-depth.md index d63921df8..be64180fb 100644 --- a/content/docs/jsx-in-depth.md +++ b/content/docs/jsx-in-depth.md @@ -1,6 +1,6 @@ --- id: jsx-in-depth -title: JSX In Depth +title: JSX In Dettaglio permalink: docs/jsx-in-depth.html redirect_from: - "docs/jsx-spread.html" diff --git a/content/docs/nav.yml b/content/docs/nav.yml index eb45bc5b5..8b2500f07 100644 --- a/content/docs/nav.yml +++ b/content/docs/nav.yml @@ -1,13 +1,13 @@ -- title: Installation +- title: Installazione items: - id: getting-started - title: Getting Started + title: Primi Passi - id: add-react-to-a-website - title: Add React to a Website + title: Aggiungere React Ad Un Sito - id: create-a-new-react-app - title: Create a New React App + title: Creare una Nuova App React - id: cdn-links - title: CDN Links + title: Collegamenti a CDN - title: Concetti Chiave isOrdered: true items: @@ -35,10 +35,10 @@ title: Composizione vs Ereditarità - id: thinking-in-react title: Pensare in React -- title: Advanced Guides +- title: Guide Avanzate items: - id: accessibility - title: Accessibility + title: Accessibilità - id: code-splitting title: Code-Splitting - id: context @@ -46,37 +46,37 @@ - id: error-boundaries title: Contenitori di Errori - id: forwarding-refs - title: Forwarding Refs + title: Inoltrare Refs - id: fragments - title: Fragments + title: Frammenti - id: higher-order-components - title: Higher-Order Components + title: Componenti di Ordine Superiore - id: integrating-with-other-libraries - title: Integrating with Other Libraries + title: Integrazione Con Altre Librerie - id: jsx-in-depth - title: JSX In Depth + title: JSX In Dettaglio - id: optimizing-performance - title: Optimizing Performance + title: Ottimizzare le Prestazioni - id: portals - title: Portals + title: Portali - id: react-without-es6 - title: React Without ES6 + title: React senza ES6 - id: react-without-jsx - title: React Without JSX + title: React senza JSX - id: reconciliation - title: Reconciliation + title: Riconciliazione - id: refs-and-the-dom - title: Refs and the DOM + title: Refs ed il DOM - id: render-props title: Render Props - id: static-type-checking - title: Static Type Checking + title: Controllo Tipi Statico - id: strict-mode title: Strict Mode - id: typechecking-with-proptypes - title: Typechecking With PropTypes + title: Controllo Tipi con PropTypes - id: uncontrolled-components - title: Uncontrolled Components + title: Componenti Non Controllati - id: web-components title: Web Components - title: API di Riferimento @@ -103,51 +103,51 @@ - id: javascript-environment-requirements title: Requisiti Ambiente JS - id: glossary - title: Glossary -- title: Hooks (New) + title: Glossario +- title: Hooks (Novità) isOrdered: true items: - id: hooks-intro - title: Introducing Hooks + title: Introduzione agli Hooks - id: hooks-overview - title: Hooks at a Glance + title: Panoramica sugli Hooks - id: hooks-state - title: Using the State Hook + title: Usare l'Hook State - id: hooks-effect - title: Using the Effect Hook + title: Usare l'Hook Effect - id: hooks-rules - title: Rules of Hooks + title: Regole degli Hooks - id: hooks-custom - title: Building Your Own Hooks + title: Hooks Personalizzati - id: hooks-reference - title: Hooks API Reference + title: API di Riferimento degli Hooks - id: hooks-faq - title: Hooks FAQ -- title: Contributing + title: FAQ sugli Hooks +- title: Contribuire items: - id: how-to-contribute - title: How to Contribute + title: Come Contribuire - id: codebase-overview - title: Codebase Overview + title: Panoramica sul Codice - id: implementation-notes - title: Implementation Notes + title: Note sull'Implementazione - id: design-principles - title: Design Principles + title: Principi di Design - title: FAQ items: - id: faq-ajax - title: AJAX and APIs + title: AJAX ed APIs - id: faq-build - title: Babel, JSX, and Build Steps + title: Babel, JSX, e Build Steps - id: faq-functions - title: Passing Functions to Components + title: Passare Funzioni ai Componenti - id: faq-state - title: Component State + title: State dei Componenti - id: faq-styling - title: Styling and CSS + title: Stili e CSS - id: faq-structure - title: File Structure + title: Struttura dei File - id: faq-versioning - title: Versioning Policy + title: Regole di Versionamento - id: faq-internals - title: Virtual DOM and Internals + title: Virtual DOM ed Interni diff --git a/content/docs/optimizing-performance.md b/content/docs/optimizing-performance.md index e42bad7b7..a4735b820 100644 --- a/content/docs/optimizing-performance.md +++ b/content/docs/optimizing-performance.md @@ -1,6 +1,6 @@ --- id: optimizing-performance -title: Optimizing Performance +title: Ottimizzare le Prestazioni permalink: docs/optimizing-performance.html redirect_from: - "docs/advanced-performance.html" diff --git a/content/docs/portals.md b/content/docs/portals.md index 650121396..140c4b8f4 100644 --- a/content/docs/portals.md +++ b/content/docs/portals.md @@ -1,6 +1,6 @@ --- id: portals -title: Portals +title: Portali permalink: docs/portals.html --- diff --git a/content/docs/react-without-jsx.md b/content/docs/react-without-jsx.md index 85cdba45f..c9b6bb709 100644 --- a/content/docs/react-without-jsx.md +++ b/content/docs/react-without-jsx.md @@ -1,6 +1,6 @@ --- id: react-without-jsx -title: React Without JSX +title: React senza JSX permalink: docs/react-without-jsx.html --- diff --git a/content/docs/reconciliation.md b/content/docs/reconciliation.md index 1624bfbde..2b0c691c5 100644 --- a/content/docs/reconciliation.md +++ b/content/docs/reconciliation.md @@ -1,6 +1,6 @@ --- id: reconciliation -title: Reconciliation +title: Riconciliazione permalink: docs/reconciliation.html --- diff --git a/content/docs/reference-glossary.md b/content/docs/reference-glossary.md index e91fa9eef..708bf24ad 100644 --- a/content/docs/reference-glossary.md +++ b/content/docs/reference-glossary.md @@ -161,6 +161,6 @@ Handling events with React elements has some syntactic differences: * React event handlers are named using camelCase, rather than lowercase. * With JSX you pass a function as the event handler, rather than a string. -## [Reconciliation](/docs/reconciliation.html) {#reconciliation} +## [Riconciliazione](/docs/reconciliation.html) {#reconciliation} When a component's props or state change, React decides whether an actual DOM update is necessary by comparing the newly returned element with the previously rendered one. When they are not equal, React will update the DOM. This process is called "reconciliation". diff --git a/content/docs/refs-and-the-dom.md b/content/docs/refs-and-the-dom.md index 9b56fcc9f..e875ddd02 100644 --- a/content/docs/refs-and-the-dom.md +++ b/content/docs/refs-and-the-dom.md @@ -1,6 +1,6 @@ --- id: refs-and-the-dom -title: Refs and the DOM +title: Refs ed il DOM redirect_from: - "docs/working-with-the-browser.html" - "docs/more-about-refs.html" diff --git a/content/docs/static-type-checking.md b/content/docs/static-type-checking.md index 074e7f139..cb1a42f17 100644 --- a/content/docs/static-type-checking.md +++ b/content/docs/static-type-checking.md @@ -1,6 +1,6 @@ --- id: static-type-checking -title: Static Type Checking +title: Controllo Tipi Statico permalink: docs/static-type-checking.html prev: typechecking-with-proptypes.html next: refs-and-the-dom.html diff --git a/content/docs/typechecking-with-proptypes.md b/content/docs/typechecking-with-proptypes.md index 4004e7820..5857654f6 100644 --- a/content/docs/typechecking-with-proptypes.md +++ b/content/docs/typechecking-with-proptypes.md @@ -1,6 +1,6 @@ --- id: typechecking-with-proptypes -title: Typechecking With PropTypes +title: Controllo Tipi con PropTypes permalink: docs/typechecking-with-proptypes.html redirect_from: - "docs/react-api.html#typechecking-with-proptypes" diff --git a/content/docs/uncontrolled-components.md b/content/docs/uncontrolled-components.md index 10b6eab28..f53ac3074 100644 --- a/content/docs/uncontrolled-components.md +++ b/content/docs/uncontrolled-components.md @@ -1,6 +1,6 @@ --- id: uncontrolled-components -title: Uncontrolled Components +title: Componenti Non Controllati permalink: docs/uncontrolled-components.html ---