Express State v1.1.4 — Value Bug Fix
This patch release fixes an issue where pre-serialized values from a parent Exposed
object were being used instead of an Exposed
object's own values. The process of getting a serialized value for a given namespace has been improved to properly follow the semantics of Exposed
object hierarchy. (#25)
app.expose(1, 'foo', {cache: true});
res.expose(2, 'foo');
The above now results in the following, as expected:
console.log(window.foo); // => 2