Example of observables

Moderator: Support

kevinmcisaac
Posts: 37
Joined: Mon Oct 05, 2020 8:27 am

Example of observables

Post 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

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

Re: Example of observables

Post 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

kevinmcisaac
Posts: 37
Joined: Mon Oct 05, 2020 8:27 am

Re: Example of observables

Post 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.

Post Reply