Skip to content

Instantly share code, notes, and snippets.

@vadimkorr
Last active February 27, 2019 19:00
Show Gist options
  • Save vadimkorr/28a86a67e8f890236684edb6274423ac to your computer and use it in GitHub Desktop.
Save vadimkorr/28a86a67e8f890236684edb6274423ac to your computer and use it in GitHub Desktop.
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