How to pop data between pages


#1

I am familiar with using navctrl.push to pass data between pages, but what is the syntax for achieving this with navctrl.pop? When using the the same syntax i get an error "argument of type x is not assignable to parameter of type Function.


#2

did you find an answer to this ?


#3

It’s not a provided functionality. You could consider setting the data into a shared service, which you could fetch from the service when returning to the previous page.