DEV Community

Discussion on: Client-Side and Server-Side Redirects in Next.js

Collapse
 
justincy profile image
Justin

You are correct in that you can't use both. This guide was back when only getInitialProps existed. I'll add a note to the top about that.

Collapse
 
southclaws profile image
Barnaby

I did figure it out though, thanks to the article I got the general idea of how it should work so thanks!

Thread Thread
 
atm profile image
atm

Did you do it per page? Or did you use SSP on an HOC?