Fetch requests work as they do in native javascript, except svelete provides a few additional features:
- fetch requests now inherit a cookie and authorization headesr for the page request. This allows for credentialed fetch requests to the server or API provider.
- Internal requests go directly to the server.js handler function rather than making an actual HTTP call. This is to help reduce overhead.