Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Best practice for single use root level services

$
0
0

In many apps you need to initialize the application from reading data from here and there (http, storage etc) and keep a global state. That single use “data loader” service is run once.

Ideally the resources (i.e. memory) it occupies should be removed. This might have a simple answer but I want to learn the correct way.

Thank you in advance…

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>