Wouldn't including getServerSideProps on all protected pages essentially make the whole site SSR?
This approach has no flashing pages that you normally get when you use client side auth context/providers and checks, so I actually prefer it from that point of view.
Is there some sort of approach that has best of both worlds?
By the way your articles and youtube videos are the best and helped me tremendously!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Wouldn't including
getServerSideProps
on all protected pages essentially make the whole site SSR?This approach has no flashing pages that you normally get when you use client side auth context/providers and checks, so I actually prefer it from that point of view.
Is there some sort of approach that has best of both worlds?
By the way your articles and youtube videos are the best and helped me tremendously!