global.react is undefined
Closed this issue · 3 comments
jasonenglish commented
When lib/index.js is loaded in a browser, it's unable to find global.react. Shouldn't it be global.React? Looking at Reacts documentation and their jsfiddle example, I see that it's available under window.React
not window.react
Thoughts?
Thanks!
ShinyChang commented
Confirmed. Dunno why babel transform incorrect.
ShinyChang commented
Hi @jasonenglish ,
I fixed this problem. You can checkout the newest version :D
jasonenglish commented
Awesome, thanks!