React Wow is not a constructor

By | July 14, 2018

I am trying to add Wow.js to my react app. Here is a link to my codesandbox. I Have imported wow.js 1.1.2 and animcate.min.css 3.5.2. In my index.js I have imported animate.min.css

import "./animate.min.css";

and in my App.js I have imported and initaized wow.js

import WOW from "wowjs";

componentDidMount() {
    const wow = new WOW.WOW();

I am getting the following error:

_wowjs2.default.WOW is not a constructor

Thanks for any and all help!


Leave a Reply

Your email address will not be published. Required fields are marked *