Closed mymedia2 closed 5 years ago
Thanks for raising this @mymedia2 . I can't duplicate it though, at least not with Babel 7 / JSX-Control-Statements 4.0.0. What I'm doing is here:
@AlexGilleran, with Babel 7.6.2 and JSX-Control-Statements plugin 4.0.0 the issue does not appear. I think the bug may be considered resolved.
The next code leads to a wired error.
Results to:
TypeError: this is undefined
in Firefox orUncaught TypeError: Cannot read property 'field' of undefined
in Chrome.I have the following dev dependencies in the package.json file.
If you comment dummy definition, the error will disappear.