mml-io / mml

Metaverse Markup Language
https://mml.io
MIT License
124 stars 15 forks source link

Potential inconsistency when handling multiple mutations #100

Open MarcusLongmuir opened 1 year ago

MarcusLongmuir commented 1 year ago

When running a NetworkedDOM document without the monkeypatching applied in JSDOMRunner, there is a possibility that the diffs between states that are sent to a connected client are not consistent with the order of mutations and values that the document underwent.

This was originally indicated with an intrusive error message, but this (will be/was) removed in #101: https://github.com/mml-io/mml/blob/d10f2a9932ac5eeca1965e9d5028b03dc7b89812/packages/observable-dom/src/ObservableDOM.ts#L146