react-magic
react-magic copied to clipboard
onclick attribute not getting renamed to onClick
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!
Feel free to submit a pull request adding this, if you think it'll be useful :)