append a query string to the url react without pushing code example
Example: append a query string to the url react
history.push({
pathname: '/dresses',
search: '?color=blue'
})
history.push({
pathname: '/dresses',
search: '?color=blue'
})