replace without condition

To remove an item in an array ( without key ), you can directly write the value which you want to remove.

Example: change the meal crawfish to crayfish

dispatch(replace('User>meal', "crayfish", 'crawfish'))

Last updated