leebenson / reactql

Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
https://reactql.org
MIT License
1.82k stars 173 forks source link

Check .js imports #119

Closed leebenson closed 5 years ago

leebenson commented 6 years ago

The current config should support plain .js imports, but this hasn't been thoroughly tested. Check that it works with the current TS config by creating a sample component in the kit.

bmschwartz commented 5 years ago

Rewrote count.tsx as .js component and both the mutation and query work fine. I can post the code if you like.

leebenson commented 5 years ago

Thanks, but no need. As long as .js importing works, this issue is solved.