Next.js Discord

Discord Forum

Framer Motion in Next 14

Unanswered
American Bobtail posted this in #help-forum
Open in Discord
Avatar
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

1 Reply

Avatar
American BobtailOP
oops, missed off a "use client", so yes it works great