Fetch instead of axios
Heya, quick question - is it possible to provide the dataProvider with fetch instance rather than axios instance? (from how it looks it seems not, but wanted to confirm)
fetch instead of axios when creating a custom data provider in refine. In the provided extracts, there is an example of using fetch for error handling in a custom data provider:axios with fetch and modify the custom data provider accordingly to suit your needs.Note: you can ask me a follow up question by @ mentioning me again 
axiosaxiosNote: you can ask me a follow up question by @ mentioning me againimport { DataProvider, HttpError } from "@refinedev/core";
export const dataProvider = (apiUrl: string): DataProvider => ({
getOne: async ({ resource, id }) => {
try {
const response = await fetch(
`https://api.example.com/${resource}/${id}`,
);
if (!response.ok) {
const error: HttpError = {
message: response.statusText,
statusCode: response.status,
};
return Promise.reject(error);
}
return {
data: response.data,
};
} catch (error) {
const error: HttpError = {
message: error?.message || "Something went wrong",
statusCode: error?.status || 500,
};
return Promise.reject(error);
}
},
// ...
});