This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | ReactJS, JSX, Ide shows an "error" Unexpected characters found '{' | ||
---|---|---|---|
Product: | ide | Reporter: | lassve |
Component: | Code | Assignee: | issues@ide <issues> |
Status: | NEW --- | ||
Severity: | normal | CC: | dnatalini |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
lassve
2016-12-07 15:52:52 UTC
Hello, I encounter the same bug with the same software version but with this code (which works perfectly by the way): class MyForm extends React.Component { render() { return ( <div style={{ height: 600 }}> ... </div> ); } } Hello, I'm hit by the same bug, same NB version, on Ubuntu 16. In my code the error always appears when using style={some_var} inside JSX or DOM components, other keywords other than "style" don't generate errors. |