vitejs/vite-plugin-react

Add error handling example

Open

#795 opened on Aug 28, 2025

View on GitHub
 (2 comments) (2 reactions) (1 assignee)TypeScript (251 forks)auto 404
good first issueplugin: rsc

Repository metrics

Stars
 (1,094 stars)
PR merge metrics
 (PR metrics pending)

Description

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)

Contributor guide