Last active
February 27, 2019 19:00
-
-
Save vadimkorr/28a86a67e8f890236684edb6274423ac to your computer and use it in GitHub Desktop.
This file contains 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
import React from "react"; | |
import { Routing } from "./src/Routing"; | |
import { configure } from "mobx"; | |
configure({ | |
// 'observed' means that the state needs to be changed through actions | |
// otherwise it throws an error | |
enforceActions: "observed" | |
}); | |
const App = () => <Routing />; | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment