Hi, im building a shoppong app, ive created a dynamic list that is saved on the app state lvl.
what im trying to do next (without success) is after someone purchased items i want that he can reach his previous carts on the app - im strugling with creating this navigation.
For example - I want to create a list with buttons that when you press a button a page will pop up with the relevant cart.
what im trying to say is - how do i tell the app to open a specific cart from a list of "previous carts" in the app state with a click of a button.
Does anyone knows how to connect the button to a specific location in an app state ?
thank you so much in advance