Comment

Comment by markselby

Yes that's roughly the general idea. If you're interested in something named 'foo'(let's say an object), use store.observe('foo', some_object) to observe it, then define some actions on the name 'foo' wherever it's convenient. Next time you call the store.observe('foo', changed_object) somewhere, if the object is changed, the actions would be automatically triggered.
parent markselby 9 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