objecthistory
objecthistory copied to clipboard
Hey, this is cool!
I made something similar a while back - https://github.com/bcherny/auditable - curious what you think.
Hey, also cool! Thanks for sharing. 👍 I would be interested to hear what the motivation behind building auditable
was!
My aim for objecthistory
was to make operations available on the enhanced object itself, and for those operations to happen transparently, so that if you undo/redo the diff is applied directly to the object, rather than as a return value from the call. Mainly I made it for fun and to play with Proxies, which are super cool.