Skip to content

onclick attribute not getting renamed to onClick #139

@jeffvandyke

Description

@jeffvandyke

On http://magic.reactjs.net/htmltojsx.htm, I was able to almost perfectly convent a huge chunk of text, but I thought I should let someone know that the onclick attribute is not converting to onClick. Perhaps onclick="alert('hi'); return false;" could be converted to onClick={() => { alert('hi'); return false; }}, just as a suggestion. Thanks for this tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions