Next.js Discord

Discord Forum

What is the alternative for useRouter() for server components

Answered
Rule posted this in #help-forum
Open in Discord
I want to get the current path with the server components. How should I do that?

3 Replies