2 ms·
Last few weeks, I found a piece of code to version control an object in JavaScript (using Proxy). In just 68 lines of codes. - The original answer https://sta
by docuru 6y ago
Last few weeks, I found a piece of code to version control an object in JavaScript (using Proxy). In just 68 lines of codes.
- The original answer https://stackoverflow.com/a/40498130/5775993 https://stackoverflow.com/a/40498130/5775993
- I rewrite it to a class in Typescript https://gist.github.com/hieunc229/ca6aeb507de42a933bafe31e0a174dd0#file-versioncontrolobject-ts https://gist.github.com/hieunc229/ca6aeb507de42a933bafe31e0a...