App dir or Pages dir?

I'm creating a production app and i choosed Nextjs, postgresql, drizzle, scss, so im using the t3 stack and its showing the app dir as default so should i go with it ? or should i choose the pages dir?? which will be good for my application? its like medium.com or dev.to web app.
3 Replies
Xanacas
Xanacas•2w ago
pagedir will be supported for a while, but app dir is state of the art. If you're building a new project, almost always app dir is your choice.
James 2.0
James 2.0OP•2w ago
so should i choose the react19 too ? or its not good for production ?
Xanacas
Xanacas•2w ago
even though r19 is not yet released, RC is out for a while and GA is expected to be around the corner. So if you're building something new, on a new codebase, I'd give it a go. You could also use next14 and app dir, which uses React 18 - but the new next15 caching behavior should push you to v15 😉
Want results from more Discord servers?
Add your server