Skip to content

useEntity: don't refetch when there's an error

Alex Gleason requested to merge useentity-error into develop

We want to avoid refetching an entity every time its component renders if the API gave an error.

(It would probably be better to preserve the state in Redux, but this improves the situation for most cases)

Merge request reports

Loading