Answers for "how to pass query parameter in url for fetching the data from the backend in react js"

0

how to add query parameter to url reactjs

history.push({
  pathname: '/dresses',
  search: '?color=blue'
})

or

history.push('/dresses?color=blue')
Posted by: Guest on May-04-2021

Code answers related to "how to pass query parameter in url for fetching the data from the backend in react js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language