Symbol that will be returned // when you call this method again export default createStore( 'todoStore', { todos: [] }, ); Creating a Store Creating a Store 15 . 2
} from 'mobx-react'; import todoStore from '../store'; const mapTodos = todos => todos.map(todo => <li>{todo.text}</li>); @observer // if you're gonna use decorators, you have to use a Class // instead of a just a functional Component export default class TodoListComponent extends Component { private store = todoStore(); render() { const { todos } = this.store; return ( <ol> {mapTodos(todos)} </ol> ); } } Creating a Reactive Component Creating a Reactive Component 15 . 6
isn't a lot out there; like seriously, there is very little documentation Support: There appears to only be a handful of people at Microsoft who work on it and they are busy rewriting Outlook.com and Office365 with it Roadmap: There doesn't seem to be any clearly published roadmap or overall vision for the project and it's mostly just one Microsoft employee making updates 17