lazarv / react-server

The easiest way to build React apps with server-side rendering
https://react-server.dev
MIT License
121 stars 6 forks source link

fix: show full error message in the overlay #56

Closed lazarv closed 1 month ago

lazarv commented 1 month ago

Fixes error message display in the Vite error overlay. Error message was truncated before if new-line characters were in the message. Errors like React hydration errors should display properly with the changes applied in this PR.

It also adds a small error indicator in the bottom-left corner of the screen to open the error overlay, as instantly auto-opening the error overlay on page load could be too distracting.

Fixes handling error overlay re-open after closing the overlay using the Escape key.

Related issue is #55