Browse Source

Fixed language error (#4701)

"them" word was missing
main
7527e 3 years ago
committed by GitHub
parent
commit
37ffccc29e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/pages/learn/updating-arrays-in-state.md

2
beta/src/pages/learn/updating-arrays-in-state.md

@ -4,7 +4,7 @@ title: Updating Arrays in State
<Intro>
Arrays are mutable in JavaScript, but you should treat as immutable when you store them in state. Just like with objects, when you want to update an array stored in state, you need to create a new one (or make a copy of an existing one), and then set state to use the new array.
Arrays are mutable in JavaScript, but you should treat them as immutable when you store them in state. Just like with objects, when you want to update an array stored in state, you need to create a new one (or make a copy of an existing one), and then set state to use the new array.
</Intro>

Loading…
Cancel
Save