christianalfoni / webpack-bin

A webpack code sandbox
http://www.webpackbin.com
MIT License
710 stars 75 forks source link

Unable to change JSX pragma #216

Open balajisivanath opened 7 years ago

balajisivanath commented 7 years ago

Changing jsx pragma throws following error image

Guria commented 7 years ago

webpackbin 2 is coming soon: https://github.com/cerebral/webpackbin/ https://webpackbin-test.firebaseapp.com/

developit commented 7 years ago

The issue is still present in webpackbin 2.

christianalfoni commented 7 years ago

@developit Have you checked webpackbin.com ? Can not reproduce there. Or maybe some combination of stuff happens here, so need more details :)

developit commented 7 years ago

Yup - that's where I was editing. On this bin, try removing the /** @jsx h */ comments - you'll get an error saying "React is undefined" because it's trying to use React.createElement.

christianalfoni commented 7 years ago

Ah, I see! Noted, will look into it as soon as I can :)