3 ms·
Next's headers function is an elegant layer over the Web Headers API.
by robertoandred 3y ago
Next's headers function is an elegant layer over the Web Headers API.
- gherkinnn 3y agoBut I want the request. Remix points the reader to the MDN docs. Next invents its own little thing. This is the fundamental difference in philosophy.
- robertoandred 3y agoThe Web Headers API isn't Next's own thing. They point you to the MDN docs. And if you want a route's request object in Next, use a route.js file.