Last updated 1 year ago
To remove an item in an array ( without key ), you can directly write the value which you want to remove.
Example: Remove shrimp in the array
meal = ['crawfish','corn','hotdog',shrimp']
dispatch(remove('User>meal','shrimp))