Page 1 of 1

Example of observables

Posted: Wed Nov 04, 2020 5:17 am
by kevinmcisaac

As recommended by Angular, I'd like to use observables to "support for passing messages between parts of your application", e.g., between screens.

Do you have an example/demo of this. I'm using IONIC4


Re: Example of observables

Posted: Thu Nov 05, 2020 3:30 pm
by Serhii Kulibaba

Hello,

In Appery.io platform it is better to keep your data in Storage variables, which you can use in your code or use in mappings of services: https://docs.appery.io/docs/snippets#set-variable


Re: Example of observables

Posted: Wed Nov 11, 2020 1:48 am
by kevinmcisaac

Thank you. That is what I'm currently doing, however this requires a lot of manual work to ensure each screen (component) read/writes the variable/storage and this becomes burdensome for complex apps.