Closed amacleay-cohere closed 2 years ago
👷 Deploy request for restful-react accepted.
🔨 Explore the source changes: 1fbb384ba2f3cdfa701cb3a81130abe362c41ac2
🔍 Inspect the deploy log: https://app.netlify.com/sites/restful-react/deploys/6154f1a6aacf2b000765313b
@micha-f can you have a look?
Why
Attempts to solve #268 by following the non-suggested path: muddle the
useGet
API by allowingrefetch
to return the data it just fetched, rather than making the caller put their code in an ambientuseEffect
I've explained the thinking somewhat more fully in https://github.com/contiamo/restful-react/issues/268#issuecomment-930620247