Framer Motion in Next 14
Unanswered
American Bobtail posted this in #help-forum
American BobtailOP
Hi, has anyone got framer motion to work in Next JS 14? I can't get past a 'createContext' error:
../node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs (6:42) @ eval
⨯ TypeError: (0 , reactWEBPACK_IMPORTED_MODULE_0.createContext) is not a function
../node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs (6:42) @ eval
⨯ TypeError: (0 , reactWEBPACK_IMPORTED_MODULE_0.createContext) is not a function
1 Reply
American BobtailOP
oops, missed off a "use client", so yes it works great