for updating nested state or updating nested data on any instance where you need to work with immutable objects. you can also use a library called 'immer’. saves you from spreading too often.

I’m a full stack web developer working with Javascript on React and Node.js everyday.

Love podcasts or audiobooks? Learn on the go with our new app.