Anexar uma sequência de consulta ao URL React
history.push({
pathname: '/dresses',
search: '?color=blue'
})
Average Ape
history.push({
pathname: '/dresses',
search: '?color=blue'
})
history.push({
pathname: '/dresses',
search: '?color=blue'
})
or
history.push('/dresses?color=blue')