Trrack / trrackjs

A library for history/provenance tracking in web-based visualizations.
https://apps.vdl.sci.utah.edu/trrack
BSD 3-Clause "New" or "Revised" License
17 stars 7 forks source link

fix(core): fixed readonly bug during patch apply #35

Closed kirangadhave closed 1 year ago

kirangadhave commented 1 year ago

Trrack stores diffs between state as patches, and the issue arises when applying the patches. Say if patch A contains a complex object, and patch B changes one of the keys, when trrack tries to apply patch B after patch A it runs into readonly error. This happens because patches are readonly.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
trrackjs ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 9, 2023 at 11:40PM (UTC)