This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
New Features ✨
- An options flag now enables metadata for the request in addition to the response. (Thanks @mjpsyapse!)
const { contentType, response, status } = useFetch(
'/some-path',
{ method: 'POST' },
{ metadata: true },
);