I am new to react.js. I am unable to get params from the current URL.
Here is the function I use:
var Base_URL = window.location.href;
Now I want to parse the params of current URL that looks like this: url=xyz&email=xyz
. How can I achieve this with React. I perfectly get all values while using node.js.