MessageError
Renders message error UI inside MessageList. This is the default component for the MessageError prop.
Best Practices
- Show clear, actionable error messaging for failed sends.
- Keep error UI minimal to avoid cluttering the list.
- Provide a retry affordance when applicable.
- Avoid retry loops; let the user initiate retries.
- Keep the component lightweight to reduce re-render cost.