I've made a request to a React page, and I need to get the headers from the request.
I call the page via the URL:
and I set headers, for example authcode=1234.
I then load the page with this route:
<Route path="dashboard" name="dashboard" component={Dashboard} onEnter={requireAuth}></Route>
is there something like this.props.header, I can call in the page constructor?
http-request
going on. With react-router you just decide what component to show on whichroute
. But there is no http-request. Correct me if I'm wrong. – Euchromatin