# Refresh ui-node

**URL:** <https://discourse.nodered.org/t/refresh-ui-node/13921>\
**Category:** Dashboard\
**Created:** [2 August 2019 09:16 UTC](https://discourse.nodered.org/t/refresh-ui-node/13921 "2019-08-02T09:16:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [5 August 2019 06:04 UTC](https://discourse.nodered.org/t/refresh-ui-node/13921/7 "2019-08-05T06:04:32Z")

</div>

This is about same problem as in this thread [API addwidget()](https://discourse.nodered.org/t/api-addwidget/13604)  
Conclusion is - On redeploy/refresh the API resend last incoming payload.

As you can't change this behavior, you should respect it and build your widget to follow the underlying logic.

---

_[View the full topic](https://discourse.nodered.org/t/refresh-ui-node/13921)._
