vitejs/vite-plugin-react

Add error handling example

開放

#795 建立於 2025年8月28日

 (2 則留言) (2 個反應) (1 位負責人)TypeScript (251 個分叉)auto 404
good first issueplugin: rsc

倉庫指標

星標
 (1,094 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Add an example of using common error handling API such as onError, digest, captureOwnerStack, etc. See


Also more functional robustness for:

  • handle ssr error and fallback to csr
  • handle broken rsc stream on client (e.g. network error / server function error)

貢獻者指南