Hello everybody! I hope I can find help here in this channel. I’m trying to combine Plasmic, nextjs and framer-motion with the feature to animate page changes. The problem seems the components of the catch all page ([[…catchAll]].jsx) are not fully removed and like that the component is not triggered. It’s only working when changing between “static” pages I created in pages folder and the catch all page. I’m thankful for all kinds of hints!
This is more or less the setup I use: https://wallis.dev/blog/nextjs-page-transitions-with-framer-motion but additionally the use of a catchAll page (https://docs.plasmic.app/learn/nextjs-quickstart/). Are there any events or hooks which allow to interact when there is a new render of the page?