0
當this.props.location.query.someQuery更新時,render()函數將觸發。但我不想在更新查詢時重新渲染組件。 我更新查詢的方式是以下幾點:當更新this.props.location.query.someQuery時重新呈現Reactjs
this.props.location.query.someQuery = otherValue;
hashHistory.replace(this.props.location);