cjs.MovieClip is not a Constructor when moving to React
Hey everyone,
New to Animate and new to React and stuck on this problem. I've asked my TAs in class and scoured the internet for a solution and can't find it.
I have an animation from Animate that works in a page that is Bootstrap and vanilla JS. I've not migrated the entire page over the React with Bootstrap and I can not get the animation to work. I've played whack-a-mole on errors left and right and started over at least a dozen times, but in the end I keep getting stuck on this error... "cjs.MovieClip is not a constructor."
I've got a local version of createjs linked in my index.html as has been suggested elsewhere but that doesn't help. I'm sure there's something simple I'm missing but I've exhausted everything else I know to try. Does anyone have any suggestions? Is there a better way to get animations from Animate working in React?
(Here's the page with the working coffee cup animation at the top if that helps https://markgatx.github.io/Portfolio-v2/)
