# Keep computed value while reloading data

**URL:** <https://discuss.emberjs.com/t/keep-computed-value-while-reloading-data/14490>\
**Category:** Ember Data\
**Created:** [April 6, 2018, 7:44pm UTC](https://discuss.emberjs.com/t/keep-computed-value-while-reloading-data/14490 "2018-04-06T19:44:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ondrejsevcik](https://avatars.discourse-cdn.com/v4/letter/o/ed655f/32.png) [@ondrejsevcik](https://discuss.emberjs.com/u/ondrejsevcik)\
**Post date:** [April 6, 2018, 7:44pm UTC](https://discuss.emberjs.com/t/keep-computed-value-while-reloading-data/14490/1 "2018-04-06T19:44:53Z")

</div>

Hi, I have a simple computed property that returns name from my user model. The problem is when the model is being reloaded, the value is empty for a moment. Is there a way to keep the old value till the new one is loaded?

```
// Computed property
userName: computed.alias('model.name')

// In template than super simple 
<h1>{{userName}}</h1>

// But when I do in code
model.reload();

// Then I get for a few milliseconds (basically it blinks) before the name is loaded again
<h1></h1>

```

---

<div class="post-metadata">

**Author:** ![ef4](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/ef4/32/13470_2.png) [@ef4](https://discuss.emberjs.com/u/ef4)\
**Post date:** [April 6, 2018, 9:35pm UTC](https://discuss.emberjs.com/t/keep-computed-value-while-reloading-data/14490/2 "2018-04-06T21:35:33Z")

</div>

I can’t reproduce this behavior. When I try to do a similar setup, it has the behavior you want – the previous values stay on screen while the model is reloading.

---

<div class="post-metadata">

**Author:** ![ef4](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/ef4/32/13470_2.png) [@ef4](https://discuss.emberjs.com/u/ef4)\
**Post date:** [April 6, 2018, 9:37pm UTC](https://discuss.emberjs.com/t/keep-computed-value-while-reloading-data/14490/3 "2018-04-06T21:37:04Z")

</div>

In general, if you want more fine-grained control over how things look in templates while promises are resolving, check out [Ember Observer](https://emberobserver.com/addons/ember-promise-helpers)
