Skip to content

Commit cc673d2

Browse files
authored
Merge pull request #142 from reactjs/sync-d0f2db96
Sync with reactjs.org @ d0f2db9
2 parents a9c0a0d + 76b02aa commit cc673d2

File tree

5 files changed

+22
-20
lines changed

5 files changed

+22
-20
lines changed

content/docs/state-and-lifecycle.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ Per implementare ciò, abbiamo bisogno di aggiungere uno "stato" al componente `
7272

7373
Lo state (o stato) è simile alle props, ma è privato e completamente controllato dal componente.
7474

75-
Abbiamo [detto in precedenza](/docs/components-and-props.html#functional-and-class-components) che i componenti definiti come classi hanno alcune funzionalità aggiuntive. Il local state (stato locale) è esattamente una di queste: una caratteristica disponibile solo nelle classi.
76-
7775
## Convertire una Funzione in una Classe {#converting-a-function-to-a-class}
7876

7977
Puoi convertire un componente funzione come `Clock` in una classe in cinque passaggi:

content/languages.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979
translated_name: ភាសាខ្មែរ
8080
code: km
8181
status: 0
82+
- name: Kannada
83+
translated_name: ಕನ್ನಡ
84+
code: kn
85+
status: 0
8286
- name: Korean
8387
translated_name: 한국어
8488
code: ko
@@ -146,7 +150,7 @@
146150
- name: Turkish
147151
translated_name: Türkçe
148152
code: tr
149-
status: 1
153+
status: 2
150154
- name: Ukrainian
151155
translated_name: Українська
152156
code: uk

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"normalize.css": "^8.0.0",
4848
"prettier": "^1.7.4",
4949
"prismjs": "^1.15.0",
50-
"react": "16.8.3",
51-
"react-dom": "16.8.3",
50+
"react": "16.8.6",
51+
"react-dom": "16.8.6",
5252
"react-helmet": "^5.2.0",
5353
"react-live": "1.8.0-0",
5454
"remarkable": "^1.7.1",

src/site-constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// NOTE: We can't just use `location.toString()` because when we are rendering
99
// the SSR part in node.js we won't have a proper location.
1010
const urlRoot = 'https://it.reactjs.org';
11-
const version = '16.8.4';
11+
const version = '16.8.6';
1212
const babelURL = 'https://unpkg.com/[email protected]/babel.min.js';
1313

1414
export {babelURL, urlRoot, version};

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11044,15 +11044,15 @@ react-dev-utils@^4.2.1:
1104411044
strip-ansi "3.0.1"
1104511045
text-table "0.2.0"
1104611046

11047-
11048-
version "16.8.3"
11049-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.3.tgz#ae236029e66210783ac81999d3015dfc475b9c32"
11050-
integrity sha512-ttMem9yJL4/lpItZAQ2NTFAbV7frotHk5DZEHXUOws2rMmrsvh1Na7ThGT0dTzUIl6pqTOi5tYREfL8AEna3lA==
11047+
11048+
version "16.8.6"
11049+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.6.tgz#71d6303f631e8b0097f56165ef608f051ff6e10f"
11050+
integrity sha512-1nL7PIq9LTL3fthPqwkvr2zY7phIPjYrT0jp4HjyEQrEROnw4dG41VVwi/wfoCneoleqrNX7iAD+pXebJZwrwA==
1105111051
dependencies:
1105211052
loose-envify "^1.1.0"
1105311053
object-assign "^4.1.1"
1105411054
prop-types "^15.6.2"
11055-
scheduler "^0.13.3"
11055+
scheduler "^0.13.6"
1105611056

1105711057
react-error-overlay@^3.0.0:
1105811058
version "3.0.0"
@@ -11106,15 +11106,15 @@ react-side-effect@^1.1.0:
1110611106
exenv "^1.2.1"
1110711107
shallowequal "^1.0.1"
1110811108

11109-
11110-
version "16.8.3"
11111-
resolved "https://registry.yarnpkg.com/react/-/react-16.8.3.tgz#c6f988a2ce895375de216edcfaedd6b9a76451d9"
11112-
integrity sha512-3UoSIsEq8yTJuSu0luO1QQWYbgGEILm+eJl2QN/VLDi7hL+EN18M3q3oVZwmVzzBJ3DkM7RMdRwBmZZ+b4IzSA==
11109+
11110+
version "16.8.6"
11111+
resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe"
11112+
integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw==
1111311113
dependencies:
1111411114
loose-envify "^1.1.0"
1111511115
object-assign "^4.1.1"
1111611116
prop-types "^15.6.2"
11117-
scheduler "^0.13.3"
11117+
scheduler "^0.13.6"
1111811118

1111911119
read-all-stream@^3.0.0:
1112011120
version "3.1.0"
@@ -11837,10 +11837,10 @@ sax@>=0.6.0, sax@^1.2.4, sax@~1.2.1, sax@~1.2.4:
1183711837
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
1183811838
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
1183911839

11840-
scheduler@^0.13.3:
11841-
version "0.13.3"
11842-
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.13.3.tgz#bed3c5850f62ea9c716a4d781f9daeb9b2a58896"
11843-
integrity sha512-UxN5QRYWtpR1egNWzJcVLk8jlegxAugswQc984lD3kU7NuobsO37/sRfbpTdBjtnD5TBNFA2Q2oLV5+UmPSmEQ==
11840+
scheduler@^0.13.6:
11841+
version "0.13.6"
11842+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.13.6.tgz#466a4ec332467b31a91b9bf74e5347072e4cd889"
11843+
integrity sha512-IWnObHt413ucAYKsD9J1QShUKkbKLQQHdxRyw73sw4FN26iWr3DY/H34xGPe4nmL1DwXyWmSWmMrA9TfQbE/XQ==
1184411844
dependencies:
1184511845
loose-envify "^1.1.0"
1184611846
object-assign "^4.1.1"

0 commit comments

Comments
 (0)