lyqht/Octokit-lite

Add Error Boundary for handling request errors

Offen

#10 geöffnet am 30.09.2022

 (13 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (11 Forks)auto 404
good first issue

Repository-Metriken

Stars
 (17 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description

In both Unfork and TopicSpace, there is no error handling of showing error notification/popup in the case when the network request to API routes fails e.g. in the case of bulk repository delete (#3) or other edge cases.

Suggested Solution

Add a React error boundary to catch all network errors and display it as a simple error popup ui at the right top edge of the app.

Contributor Guide