Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Kea – The power of Redux with the simplicity of MobX. Parent comment
Edit: In MST it would look more like plain js:
class AuthStore() { .... { login() { do_async_thing() .then(this.postLoginStuff) .catch(this.handleFailedLogin) }, logout() { // do logout stuff } } }
There are no comments on this comment yet.
Edit: In MST it would look more like plain js: