- Add comprehensive error handling for SSE events - Implement proper error state UI with Semi Typography - Prevent white screen issues on non-200 responses - Add error logging for better debugging - Enhance message state management for error conditions - Improve user feedback with i18n error messages - Ensure UI stability during error states - Add try-catch blocks for JSON parsing and stream initialization - Handle connection termination gracefully - Preserve error states in message stream updates
React Template
Basic Usages
# Runs the app in the development mode
npm start
# Builds the app for production to the `build` folder
npm run build
If you want to change the default server, please set REACT_APP_SERVER environment variables before build,
for example: REACT_APP_SERVER=http://your.domain.com.
Before you start editing, make sure your Actions on Save options have Optimize imports & Run Prettier enabled.