That does help! thanks for that seems to have been the problem. It is working how I intended but I do not really understand why.
I wrote this code to test it out, and it works for when I scroll past that component the function is invoked, however I removed the className of "crewTrigger" from my div and it is still working, there is no class of crewTrigger and it is still recognizing it. I have my full page here if you'd like to take a look https://github.com/Imstupidpleasehelp/Curb-Appeal/blob/main/src/pages/crew.js
<div >
<Crew />
</div>
ScrollTrigger.create({
trigger: '.crewTrigger',
onEnter: test,
//onLeave: myLeaveFunc,
//onEnterBack: myEnterFunc,
//onLeaveBack: myLeaveFunc
});