Skip to content

Commit 9951ce5

Browse files
authored
Merge pull request #502 from reactjs/copy/state-as-a-snapshot
Translation of the "State as a snapshot" page
2 parents 9275b99 + 0eaf65e commit 9951ce5

File tree

2 files changed

+90
-90
lines changed

2 files changed

+90
-90
lines changed

src/content/learn/adding-interactivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Lisez **[Rendu et Commit](/learn/render-and-commit)** pour apprendre sur le cycl
255255

256256
</LearnMore>
257257

258-
## L’état comme un instantané {/*state-as-a-snapshot*/}
258+
## L’état est un instantané {/*state-as-a-snapshot*/}
259259

260260
Contrairement aux variables JavaScript classiques, une variable d’état dans React se comporte davantage comme une photo instantanée. Lui affecter une nouvelle valeur ne change pas la variable d’état que vous avez déjà, mais déclenche plutôt un nouveau rendu. Ça peut surprendre au début !
261261

0 commit comments

Comments
 (0)