The request
“Draw an application state management diagram with idle, loading, ready, updating and error states; fetching leads from loading to ready or error, updates return to ready or error, and errors can retry or reset.”
Then tryAdd an offline state after a fetch failure.Change the retry action to return to idle first.
More like this