'is necessary to use getStaticprops or SSR in Next.js?

I need to handle auth and Dashboard/page in my Next.js app. API made with DRF, and I need to know is necessary to use getStaticProps or SSR in pages? I prefer to use simple useContext and useState with Axios, but I'm lost and don't know if I can do things like this.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source