I'm new to next js, and want to redirect a user server component without using "use client"
CodePudding user response:
I'm not sure if I get the question the question right, but a good way to redirect with next.js is setting up a middleware.
It's explained quite well in the next.js docs.
If that's not what you're looking for, please specify your question a bit more