Skip to content

Rename dangerouslySetInnerHTML #2134

@syranide

Description

@syranide

From #1515, thoughts?

dangerousInnerHTML, unsafeInnerHTML, (disasterousInnerHTML :)) or something else? (I prefer the sound of dangerous)

It also makes sense to add a dangerousDefaultInnerHTML (default is the word we use elsewhere) which could be very useful for content-editables to avoid "hacks", etc.

cc @sebmarkbage @zpao

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions