Comment

Comment by emilehere

Reminds me of a little prototype I wrote a while ago that tried to do something similar with Javascript's Proxy class. https://github.com/emileindik/cashola

The main difference is that it stores the state of an object, not a function.

If your data is JSON serializable then it could be a cool way to save and resume application state.

parent emilehere 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton