Route
配置所在组件导出方式
export default withRouter(observer(Component));
[参考资料]
https://themeteorchef.com/tutorials/getting-started-with-react-router-v4
https://github.com/ReactTraining/react-router/issues/4781
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 --
作者
lilonghe
发表于2017-05-10 14:23
,添加在分类
Technology
下
署名-非商业性使用-禁止演绎 (CC BY-NC-ND 4.0)
Copyright ©2015-2024 lilonghe. All rights reserved.