DEV Community

Discussion on: React hooks - working with state (array of objects)

Collapse
mshowkat profile image
M Showkat

can you also add how to update? for example, steve decided to change his name to steven. how do you change the state? i think it will make this post more resourceful.

Collapse
joelynn profile image
Joseph Lynn Author

@mshowkat Thank you for the feedback! I agree this would make it more resourceful. I am adding it to the post today. There's a lot more you need to add to edit.