---
title: "Discussion on \"Why the Revealing Module Pattern property won't update (and how to fix it)\" | Hashnode"
description: "Discussion on \"Why the Revealing Module Pattern property won't update (and how to fix it)\". Learn why the Revealing Module Pattern returns stale values and how to fix it using public methods. Includes memory diagrams and working code."
url: "https://hashnode.com/posts/why-the-revealing-module-pattern-property-won-t-update-and-how-to-fix-it/69dcc9f1900c6a0f144a952d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why the Revealing Module Pattern property won't update (and how to fix it)](https://0xdezman.hashnode.dev/why-the-revealing-module-pattern-property-won-t-update-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

Learn why the Revealing Module Pattern returns stale values and how to fix it using public methods. Includes memory diagrams and working code.

Apr 13 · 9 min read · 0xdezman.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Abdulganiy Adeleke](https://hashnode.com/@0xDezman)

@0xDezman · Lagos, Nigeria

  
[View profile](https://hashnode.com/@0xDezman)

swe & technical writer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
