send query params in react router code example
Example 1: maintain query params react-router
history.push('/app/measurements' + history.location.search)
Example 2: how to add query parameter to url reactjs
history.push({
pathname: '/dresses',
search: '?color=blue'
})
or
history.push('/dresses?color=blue')