My To Do List - Example event handling

Note that here we use a class rather than a functional React component. When handling events, it is common to have the event handler be a class method that accesses its data. In addition, we must bind the method to the class object so that this works properly (otherwise it is undefined).

Useful links:



Exercises: