Next.js Discord

Discord Forum

AppRouter & PageRouter

Unanswered
West African Lion posted this in #help-forum
Open in Discord
Avatar
West African LionOP
Hello, everyone!
I'm new to Next.js
what is the difference between approuter and pagerouter?

7 Replies

Avatar
everything about them is different, you could even say they are from different frameworks. pages is the old one, app is the new one.
Avatar
Great golden digger wasp
You don't even need to think you pages are
Just use the app router
Always
Avatar
Rex
yeah, the main difference is just about modern and old version.
for deep understanding, you need to know core concepts in Next.js such as Routing, rendering method, data fetching, layout, error handling, etc.
recent projects don't almost use pages router.
Avatar
West African LionOP
thank you, @joulev , @Great golden digger wasp , @Rex
I will try to learn more.
if I have something to need, I will ask again.
Avatar
Saltwater Crocodile
absolutely