Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react router history push parameter

this.props.history.push({
  pathname: '/template',
  search: '?query=abc',
  state: { detail: response.data }
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #router #history #push #parameter
ADD COMMENT
Topic
Name
7+8 =