随笔

React-Router-4 + MobX

Route 配置所在组件导出方式

export default withRouter(observer(Component));

[参考资料]
https://themeteorchef.com/tutorials/getting-started-with-react-router-v4
https://github.com/ReactTraining/react-router/issues/4781

本文链接:https://note.lilonghe.net//post/react-router-4-mobx.html

-- EOF --