azazdeaz / react-gsap-enhancer

Use the full power of React and GSAP together
MIT License
727 stars 38 forks source link

Class constructor ClassNameHere cannot be invoked without 'new' #34

Closed Bram-Zijp closed 7 years ago

Bram-Zijp commented 7 years ago

I keep getting this error:Uncaught TypeError: Class constructor ClassNameHere cannot be invoked without 'new' When using one of the playground examples or my own. Webpack 2.x

Bram-Zijp commented 7 years ago

Didn't have Babel preset active in develop environment. toggling this on solved the issue