Comment Comment by schindlabua parse json?const x = await fetch(...); await x.json();"intercept" code that runs before every request?const withAuth = (res, options) => fetch(res, { ... do stuff here }); parent schindlabua 6 months ago
const x = await fetch(...); await x.json();
"intercept" code that runs before every request?
const withAuth = (res, options) => fetch(res, { ... do stuff here });