Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get params in react router dom v6

import {  useParams } from "react-router";

///
let {slug}=useParams()
 
PREVIOUS NEXT
Tagged: #params #react #router #dom
ADD COMMENT
Topic
Name
8+8 =