how to add query params react router code example Example: maintain query params react-router history.push('/app/measurements' + history.location.search)