So i have this component that saves amount of items in AppState(on submit action). I then use this number to know how much of specific item i want, but it is very cumbersom and needs a lot of taps.
I want to lessen amount of taps that is needed to add items, for expale can i put my action that i use on my button to use on my component.
the problem that i encounteered is that component doesn't know what items needs to be added to the list.
Having trouble with components
2