Four years ago I asked a question on StackOverflow about writing a method that would delete an object from an array stored in the state.  Today I revisited that question and coded the solution with my current knowledge.