Created
February 19, 2017 23:02
-
-
Save basarat/c137be9cdb46b784ef4b36cad7b3b3f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class AppState { | |
@observable loggedIn = false; | |
@action setLoggedIn(value: boolean){ | |
this.loggedIn = value; | |
} | |
} | |
// Don't want this executing again | |
export const appState = new AppState(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment