Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react get route params

const Child = ({ match }) => (
  <div>
    <h3>ID: {match.params.id}</h3>
  </div>
)
 
PREVIOUS NEXT
Tagged: #react #route #params
ADD COMMENT
Topic
Name
6+2 =