# Provider/server: Provide the data or contain the data?

**URL:** <https://forum.ionicframework.com/t/provider-server-provide-the-data-or-contain-the-data/101131>\
**Category:** ionic-v3\
**Created:** [August 7, 2017, 11:55am UTC](https://forum.ionicframework.com/t/provider-server-provide-the-data-or-contain-the-data/101131 "2017-08-07T11:55:47Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Audrey84](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/audrey84/32/111010_2.png) [@Audrey84](https://forum.ionicframework.com/u/Audrey84)\
**Post date:** [August 14, 2017, 4:50pm UTC](https://forum.ionicframework.com/t/provider-server-provide-the-data-or-contain-the-data/101131/9 "2017-08-14T16:50:01Z")

</div>

> [@rapropos](#):
>
> If the data is loaded only rarely, such as user preferences coming out of storage, then exposing the data as a Promise is one option that solves the reliability sequencing problem: there is an example of this in this thread.

Did I find the correct example with this: [How to get the LocalStorage value out of promise scope - #20 by rapropos](https://forum.ionicframework.com/t/how-to-get-the-localstorage-value-out-of-promise-scope/57296/20) ?

Wouldn’t this example require managing the data in two places (page and provider) when I e.g. can add setting items instead of just editing the existing ones via a form? When an additional item is pushed to the list, I start to have to add it to the page object so it is correctly shown, in the provider so it is in the data instance that gets saved to Ionic Storage. And this feels wrong, right?

---

_[View the full topic](https://forum.ionicframework.com/t/provider-server-provide-the-data-or-contain-the-data/101131)._
