I have been studying redux for several days, and I am doing a redux dome, that adds, deletes, checks and modifies the data. I follow the tutorials I am looking for on the Internet, but I don"t understand.
so now there are several mistakes and there is no way to start
this is action
reducer
there is no problem with adding data, but there is a problem with deleting and modifying. Delete function deletes all data,
Delete function deletes all data because there is no return, and return is normal
when you modify the data, all the data will be modified, and you have no idea what went wrong
.the case for modifying data is return, but all data will be modified