acdlite/redux-router

Router state duplication

Open

#59 ouverte le 18 sept. 2015

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)JavaScript (215 forks)batch import
help wanted

Métriques du dépôt

Stars
 (2 316 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur