Skip to content

Commit df3327f

Browse files
LucaBlackDragondeblasis
authored andcommitted
Translation of State and Lifecycle page (#18)
* Beginning translation of State and Lifecycle page * Translation complete * Apply almost all suggestions from code review Co-Authored-By: LucaBlackDragon <[email protected]> * Rewording of paragraph "I Dati Fluiscono Verso il Basso"
1 parent d6e620a commit df3327f

File tree

3 files changed

+107
-107
lines changed

3 files changed

+107
-107
lines changed

Diff for: content/docs/nav.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- id: components-and-props
2121
title: Componenti e Props
2222
- id: state-and-lifecycle
23-
title: State and Lifecycle
23+
title: State e Lifecycle
2424
- id: handling-events
2525
title: Gestione degli Eventi
2626
- id: conditional-rendering

Diff for: content/docs/reference-react-component.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ this.setState((state) => {
563563

564564
For more detail, see:
565565

566-
* [State and Lifecycle guide](/docs/state-and-lifecycle.html)
566+
* [State e Lifecycle](/docs/state-and-lifecycle.html)
567567
* [In depth: When and why are `setState()` calls batched?](https://stackoverflow.com/a/48610973/458193)
568568
* [In depth: Why isn't `this.state` updated immediately?](https://github.com/facebook/react/issues/11527#issuecomment-360199710)
569569

@@ -637,6 +637,6 @@ The state contains data specific to this component that may change over time. Th
637637

638638
If some value isn't used for rendering or data flow (for example, a timer ID), you don't have to put it in the state. Such values can be defined as fields on the component instance.
639639

640-
See [State and Lifecycle](/docs/state-and-lifecycle.html) for more information about the state.
640+
See [State e Lifecycle](/docs/state-and-lifecycle.html) for more information about the state.
641641

642642
Never mutate `this.state` directly, as calling `setState()` afterwards may replace the mutation you made. Treat `this.state` as if it were immutable.

0 commit comments

Comments
 (0)