Next.js Discord

Discord Forum

About app dir and pages dir

Unanswered
Dunker posted this in #help-forum
Open in Discord
Avatar
DunkerOP
Hello, is anyone knows what is the current status of 'pages' dir and app dir, will it be deprecated in future (which future), or is there a plan to revert everything back to pages dir or at least keeping it as is as a option, thanks.

24 Replies

Avatar
Yi Lon Ma
pages dir isn't going anywhere for now but will surely be deprecated in future versions. Right now you can use either of them depending on your preference.
Avatar
DunkerOP
are you core maintainer or normal guy
Avatar
joulev
will it be deprecated in future
no one has confirmed whether it will be deprecated, but [it will continue to be supported for several major versions](https://nextjs.org/blog/next-13-4#is-the-pages-router-going-away)
is there a plan to revert everything back to pages dir
no
Avatar
Yi Lon Ma
a normal nextjs user but why is it imp?
Avatar
Chinese Chongqing Dog
@Dunker it's been discussed countless times. Also, it's not nice to ping people randomly.
Avatar
DunkerOP
well, i saw react is still at 18.2 (server components experimental) status, i dont know when those will stable or maybe even they will quit from this Server Components idea, thats why i am asking to a maintainer or admin
Avatar
joulev
no they won't, that one i can confirm
Avatar
DunkerOP
And pinging is one way to reach him i thought
i dont wanna see some day a header like ' we removed pages dir' from anywhere
for example cypress done similar thing recently
Avatar
Yi Lon Ma
pages dir will be removed but after several major versions
Avatar
DunkerOP
major means 14.X, or 13.5
Avatar
Yi Lon Ma
not in 14.x surely
can't say about versions after that like 15.x or 16.x
Avatar
DunkerOP
so likely 1 year right
Avatar
Yi Lon Ma
yeah
Avatar
DunkerOP
okay, what you think about react
Avatar
Yi Lon Ma
about what?
Avatar
DunkerOP
experimental RSC
Avatar
Yi Lon Ma
nah they are also not going anywhere
Avatar
DunkerOP
no i mean when they will become stable and tested (ready to use)
Avatar
Yi Lon Ma
RSC are pretty stable, I am using it in production on work
Avatar
DunkerOP
weird
i ll wait for 18.3 and 13.5 tho, just asked to make sure