vitejs / vitejs/vite-plugin-react

Add error handling example

Open
#795 2 comments 2 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

good first issue plugin: rsc
Dominant language
TypeScript
Stars
1.2k
Forks
269
Avg merge
1d 3h
Merged PRs (30d)
19

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.