This content originally appeared on DEV Community and was authored by anilsculptsoft
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.
This content originally appeared on DEV Community and was authored by anilsculptsoft

anilsculptsoft | Sciencx (2022-04-05T04:26:25+00:00) Pre-render page using getServerSideProps after user login. Retrieved from https://www.scien.cx/2022/04/05/pre-render-page-using-getserversideprops-after-user-login/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.