lyqht/Octokit-lite

Add Error Boundary for handling request errors

开放

#10 创建于 2022年9月30日

 (13 条评论) (0 个反应) (0 位负责人)TypeScript (11 个派生)auto 404
good first issue

仓库指标

星标
 (17 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南