In Ionic4, how can I read the data that is passed via componentProps to a modal screen? How can I read that data in the modal screen? It used to be through navParams, but that throws an error in Ionic4.
Have you stored that value to the Storage and rea dit from there?
Hi Serhii, yes that works. I just thought since the snippet provides componentsProps when you launch the modal, there would be another way than storage to retrieve them. Thanks.
You can also check this sample to know more about passing data to/from modal screens: https://docs.appery.io/docs/samples#p....