React Native : how to wait for user counter change then update the state
Im building a cart system using Expo – React Native, my issue starts when the user adds or removes the data continuously because every time the user presses Increment or Decrement button the data changes, so is there any way to wait until the user tapping (button) is finished then execute the function?