re-render when update this.props.location.query.somequery Reactjs

ساخت وبلاگ

Vote count: 0

render() function will fire when this.props.location.query.someQuery updated. But I do not want re-render the component when updated query. The way I updated query is following:

this.props.location.query.someQuery = otherValue;
hashHistory.replace(this.props.location);
asked 31 secs ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 391 تاريخ : سه شنبه 30 شهريور 1395 ساعت: 20:35