Server crashes due to multiple runtime errors in Astro component (Astro + React) #10367
Closed
1 task
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
All browsers
Describe the Bug
When rendering an Astro component (
index.astro
), if there is an error in a React component preceded by another runtime error, it will result in a server crash.Example:
Steps to reproduce
npm run build
npm run preview
/
page, server crashes.What's the expected result?
Should not crash the server no matter how the error happen.
Link to Minimal Reproducible Example
https://github.com/frendyguo/astro-react-runtime-error-crash
Participation
The text was updated successfully, but these errors were encountered: