Closed
Description
When attempting to use a react class with a lowercase ClassName, the transformer is not able to display line on which the error occurred. It turns out that the event variable passed to the to function createSourceCodeErrorMessage(code, e)
does not contain an attribute called lineNumber.
An error is thrown that states:
Uncaught TypeError: Cannot read property 'replace' of undefined
The actual error has only the properties stack
and message
.
Error: Lower case component names (myClass) are no longer supported in JSX: See http://fb.me/react-jsx-lower-cas at http://localhost:8080/app.js:undefined:undefined
Metadata
Metadata
Assignees
Labels
No labels