Repository navigation
Code dev #13
AlbertProfe
started this conversation in
IFCD0210-26
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Adding to an array
push() will mutate an array, which you don’t want:
https://react.dev/learn/updating-arrays-in-state#adding-to-an-array
All reactions