Let\'s take a class like this in an app with React and React Router.
@observer class Module1 extends React.Component { constructor (props) { super(props);
Take a look at react-tunnel. It gives you a Provider component and the inject decorator (works like connect in redux).
Provider
inject
connect