I have problem with removeItem function (it should remove current that button is nested in, and item from array on this.state.list), no code currentl
You can filter your list by the issue you want, and it will be auto removed, for example, if you want to remove all items = 3 :
list: prevState.list.filter(x=> x != 3);
prevState.list.filter(x=> x != 3);
Good luck!