User experience and browser behavior
React escapes ordinary string children, but dangerouslySetInnerHTML bypasses that protection. Ad hoc regular-expression cleanup is not a robust HTML sanitizer.
- Start from native browser semantics
- Test loading, error and interaction states
- Measure user experience on representative devices