0
当this.props.location.query.someQuery更新时,render()函数将触发。但我不想在更新查询时重新渲染组件。 我更新查询的方式是以下几点:当更新this.props.location.query.someQuery时重新呈现Reactjs
this.props.location.query.someQuery = otherValue;
hashHistory.replace(this.props.location);