acdlite / acdlite/redux-router

Router state duplication

オープン
#59 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted
主要言語
JavaScript
スター
2.3k
フォーク
194
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。