DEV Community

anilsculptsoft
anilsculptsoft

Posted on

Pre-render page using getServerSideProps after user login

Hi,
I'm new in NextJS, and I'm developing app where i want pre-render home page after login. Here in home page my API call need user token which is stored at local storage. So i'm not getting how to pre-render home page using getServerSideProps.
Can you please explain?
Thank you.

Top comments (0)