jsformat-atom
jsformat-atom copied to clipboard
Reactjs jsx bug
Reactjs uses jsx and jsx has what looks like html inside the javascript code so when the jsformat package autoformats it doesnt deal with the jsx properly.If its possible to ignore formatting within the return that would be great!!! Here is an example.
var DateFields = React.createClass({
render: function () {
return (
<div>
<input type="hidden" name={this.props.name} value={this.state.value}/>
</div>
);
}
});
@brianvoe feel free to submit a PR, but that may cause issues. I haven't used React before so you'll have to experiment locally a little.
@ilanbiala have you received any pr's for this yet?
No, feel free to send one over.