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 ultimatecourses.com #
 
PREVIOUS NEXT
Tagged: #add #query #parameter #url #reactjs
ADD COMMENT
Topic
Name
3+7 =