Server Side Rendering
This page uses the getServerSession() method in getServerSideProps().
Using getServerSession() in getServerSideProps() is the recommended approach if you need to support Server Side Rendering with authentication.
The advantage of Server Side Rendering is this page does not require client side JavaScript.
The disadvantage of Server Side Rendering is that this page is slower to render.
null