I'm currently developing my own single page application and I want the content to have a smooth animation effect as I scroll down, instead of being static. Despite searching for guides on this topic, I haven't found any helpful resources yet. An excellent example of what I'm aiming for can be seen on qanplatform.com - they have these beautiful transitions between components as you scroll down. Could this possibly be achieved through code-splitting?
Essentially, my structure looks like this:
<div className='App'>
<Navbar/>
<Hero/>
<Stats/>
<Business/>
<Team/>
<Footer/>
</div>
I am looking for a way to have each component render with a simple animation only when it comes into view as I scroll down the page, rather than loading all at once. I don't require anyone to write code for me, just some guidance on how to approach this. Qanplatform.com perfectly embodies the concept I have in mind.