I am using lazy routes in react app.
Before call for next react chunk is fired from client to server, I would like to specify user token in this request http header and verify on server before chunk is served.
How can specify any header for http request?
2.1m questions
2.1m answers
60 comments
57.0k users