React State Array of Objects


This video is part of the following playlists:


Learn how to use useState to keep track of arrays of objects in a react app.

🔗Starter Code: https://github.com/Sam-Meech-Ward/react-state-arrays-jokes/tree/3c3251eaac856f77081e7a4c7192cfa8d64dbfc0

🔗Final Code: https://github.com/Sam-Meech-Ward/react-state-arrays-jokes

This is video #7 in my react series:

Join this channel to support these videos and get access to perks: https://www.youtube.com/channel/UC6aTLuI_j4-0wiDSzmaPctQ/join

Chapters:

  • 0:00​ Intro
  • 1:38 Adding an object to the array
  • 5:12 Deleting an object from the array
  • 8:52 Update an object in the array
  • 15:37 Sort the array of objects
  • 19:09 Summary

Find an issue with this page? Fix it on GitHub