Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to add query parameter to url reactjs

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

or

history.push('/dresses?color=blue')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #query #parameter #url #reactjs
ADD COMMENT
Topic
Name
3+2 =