I'm trying to figure out how to apply StaggerFrom animation with my React functional component. You guys were able to help with Class component version as seen here.
I'm thinking I need to set an empty array as a variable, then reference each array element within ref attribute, but can't quit figure out the syntax as
let cardRef = useRef();
doesn't seem to work.
See the Pen zYOdZYE by ericnguyen23 (@ericnguyen23) on CodePen