Next.js Discord

Discord Forum

Is the pages router still relevant?

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
I'm making a simple, single page application style website and I was wondering if it's fine to just stick to the pages router.

the website will probably probably need a provider/context and I'm pretty sure server components don't mesh well with provider/context

please correct me if i'm wrong

2 Replies

@Polar bear you can still use provider/context in server component, you can use client component and server component in app router
using client component in app router you can use provider/context