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
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.
so should i choose the react19 too ?
or its not good for production ?
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 😉