Skip to content

Rename dangerouslySetInnerHTML to html #8

@jariz

Description

@jariz

RTH sanitizes html now, which means it does not mimic the same behavior as dangerouslySetInnerHTML, therefore it should be renamed, as this can possibly cause confusion amongst beginners who are not familiar with dangerouslySetInnerHTML and assume it always sanitizes - which it does not.

Suggestion: <Truncate html="my <i>HTML</i>">

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions