acdlite/redux-router

Router state duplication

Open

#59 opened on Sep 18, 2015

View on GitHub
 (6 comments) (0 reactions) (0 assignees)JavaScript (2,316 stars) (215 forks)batch import
help wanted

Description

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?

Contributor guide