Hacker News new | ask | show | jobs
by solardev 1097 days ago
What value does the app directory add? I read the docs a few times but still don't see a benefit over the page router?
1 comments

It’s the most prominent test bed for React Server Components, which are still “experimental” but are being treated as stable in Next and promoted as such by React team. Besides the features that RSC directly tout, Next’s app directory implementation is supposed to address a bunch of problems with the split between server/build and client code.

I haven’t worked with it myself but at minimum I’d expect it’ll improve workflows where there’s clearly a need for breaking up server work and interleaving it with client rendering, because the server split is wherever you choose rather than at the top of your render tree