Skip to content

Instantly share code, notes, and snippets.

@unk
Created July 1, 2018 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unk/a826ccafdf7f5ceb2f4bd1daa79a6874 to your computer and use it in GitHub Desktop.
Save unk/a826ccafdf7f5ceb2f4bd1daa79a6874 to your computer and use it in GitHub Desktop.
import { observable } from "mobx"
class Todo {
id = Math.random();
@observable title = "";
@observable finished = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment