1
我使用react-router-redux
,傳球對象
比方說,我已經定義url
爲/go-here/${routeId}
和我作爲
data = {
one: 'one',
two: 'two',
three: 'three'
}
使用派遣有routeId
,也是數據對象,我是路由到一個新的頁面,如下,
this.props.dispatch(routeAction.push(url));
導航到新頁面後,我想訪問數據對象,我怎麼能做它?