Here is a list of standard APIs that can be used as a replacement of some framework feature:
Element.setHTML()
Sanitizer.sanitizeFor()