Today in class we introduced React and built a trivial "List Maker".
Your task tonight is to take the class exercise and add the ability to remove an item from the list.
- Deploy to GH Pages (
gulp deploy
).
- Fork this repo to your own account.
- Add the ability to remove and item by clicking on it.
It's okay if there are multiple items with the same value to remove them all.
Hint: Array.prototype.filter
It's no longer okay to remove multiple items if you've only clicked on one.
Hint: Maybe an additional prop
?
Have your list items persist between reloads.