at the time writing this, the latest version was
1.4.0
.
The provided type for request intercetptor functions changed:
import { useEffect, useState } from "react"; | |
function reduce(record: Record<string, boolean>): boolean { | |
return Object.keys(record).reduce((previousValue, currentValue) => { | |
if (!record[currentValue]) { | |
return false; | |
} | |
return previousValue; | |
}, true); | |
} |
at the time writing this, the latest version was
1.4.0
.
The provided type for request intercetptor functions changed:
npm install contentful
npm install @vespaiach/axios-fetch-adapter