how to get query string in reactjs router dom function component code example
Example: get query params react
new URLSearchParams(this.props.location.search).get("your_query_param_key")
new URLSearchParams(this.props.location.search).get("your_query_param_key")