Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react get url querystring

const urlParams = new URLSearchParams(window.location.search);
const page = urlParams.get('page');
 
PREVIOUS NEXT
Tagged: #react #url #querystring
ADD COMMENT
Topic
Name
2+2 =