clear an array item

You can also use the clear action to remove an item from an array based on a specified condition, just like with other actions.

dispatch(clear('DESTINATION',CONDITION-VALUE,CONDITION-KEY));

Example: Clear Users with id = 7

dispatch(clear('Users', 7, 'id'))

Last updated