Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get param is react

        const pathArray = window.location.pathname.split('/');
        const id = pathArray[2];
 
PREVIOUS NEXT
Tagged: #param #react
ADD COMMENT
Topic
Name
2+4 =