Sunday, 4 June 2017

How do I get http headers in React.js

I've made a request to a React page, and I need to get the headers from the request.

I 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?



via Wayneio

No comments:

Post a Comment