I'm not a huge fan of the error handling, partly because the backend isn't sending the correct datashape but also having to do the useEffect with three if statements for each request feels gross and not DRY. Though I think thats something we can iterate on when I think of better ideas
I'm not a huge fan of the error handling, partly because the backend isn't sending the correct datashape but also having to do the
useEffect
with threeif
statements for each request feels gross and not DRY. Though I think thats something we can iterate on when I think of better ideas