acdlite/redux-router

Router state duplication

Open

#59 建立於 2015年9月18日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)JavaScript (2,316 star) (215 fork)batch import
help wanted

描述

It seems to me that there is some overhead with keeping router state. When using redux-react-router we have router state in our app state and also in the component's props. So we have

this.props.router.location this.props.router.component this.props.router.params this.props.router.routes

this.props.params this.props.location this.props.history this.props.routes this.props.route this.props.routeParams

Is there any way to reduce number of props kept?

貢獻者指南