empiricaly / empirica

Open source project to tackle the problem of long development cycles required to produce software to conduct multi-participant and real-time human experiments online.
https://empirica.ly/
Apache License 2.0
47 stars 8 forks source link

vector field get is the last value appended #398

Closed npaton closed 6 months ago

npaton commented 1 year ago

Is there an existing issue for this?

What happened?

stage.get("thing") || []; // []
stage.append("thing", { hello: "world" });
stage.get("thing") // { hello: "world" }

Next render (I think):

stage.get("thing") || []; // [{ hello: "world" }]

Steps To Reproduce

No response

Empirica Version

1.6.1

What OS are you seeing the problem on?

No response

What browser are you seeing the problem on?

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

npaton commented 6 months ago

This is fixed.