How can I define a route in my routes.jsx file to capture the __firebase_request_key parameter value from a URL generated by Twitter\'s single sign on process a
__firebase_request_key
When using React hooks there is no access to access to this.props.location. To capture url parameters use window object.
this.props.location
window
const search = window.location.search; const params = new URLSearchParams(search); const foo = params.get('bar');