Using Framer Motion in React class components (non-functional)
Advertisements I have a simple animation with Framer Motion that works perfectly on functional component but doesn’t work on class component I am new to Framer Motion and That is my react code => import {motion} from ‘framer-motion’ class Sidebar extends React.Component { constructor (props) { super(props) } render (){ return ( <> <motion.section inital={{… Read More Using Framer Motion in React class components (non-functional)