replace sanitizer?
instead of sanitize user data into html, rely on a lib that convert html string into react component: https://www.npmjs.com/package/html-react-parser
fallback around (if the html is invalid) to avoid the app to crash
benefits: no sanitization setting, no dangerouslySetInnerHTML attribute to use
Edited by Nicolas Briemant