React.Component is not transformed
armano2 opened this issue · 3 comments
armano2 commented
When i tried to transform https://github.com/ahfarmer/calculator/blob/master/src/component/App.js
its not working React.Component !== Component
see: https://github.com/vueact/babel-plugin-transform-react-to-vue/blob/master/index.js#L350
we should also check if imported Identifier is React and do additional checks in ClassDeclaration
nickmessing commented
@armano2, I think we can just hardcode React check since JSX forces you to use that 😄
armano2 commented
I never worked with react, i just was playing around with this tool 🗡