I am migrating a CRA web app to NextJS and I need to understand the following. Some context. I use Redux and AWS Amplify to auth users. In CRA I have a common header and footer,