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