react-ketting icon indicating copy to clipboard operation
react-ketting copied to clipboard

`error` in `useResolveResource` is not propagated in `useReadResource`

Open remidewitte opened this issue 2 years ago • 1 comments

When resourceLike is a FollowPromiseOne that throws because rel does not exists, useReadResource stays with loading = true and resource = null instead of being in error state.

remidewitte avatar Oct 13 '23 20:10 remidewitte

Seems reasonable!

evert avatar Oct 15 '23 23:10 evert