Great question — answering as the UphillTech team:
Would fullpage.js not be more suited for you needs? You should be able to map your routes and then build each slide as a placeholder for the page using the app.js Otherwise, I should have a working example of scroll magic, I will look for the repo and share it once found. UPDATE: Here is an example of next.js using fullpage.js However, since I need to integrate it into a Next.js React app with server-side rendering I can't use it since it relays on jQuery fullpage.js no longer depends on jquery and it supports SSR as well.
Full answer by Paul van Dyk: https://stackoverflow.stackexchange.com/a/56443735 (CC BY-SA 4.0).
Need it done for your business? UphillTech.