react-starter icon indicating copy to clipboard operation
react-starter copied to clipboard

[Pages/View] Views seem redundant

Open AleksandarDev opened this issue 1 year ago • 0 comments

It's only c/p, nothing is different with AppRouter - previously maybe you could abstract layout and providers/contexts, but now you have layout as abstraction layer and page is just page content.

Having SomethingPage and SomethingView is confusing when using in next.js - and we are providing template for nextjs, not some other framework. It's not realistic that once project is started with nextjs it will change framework to something else without major rewrites, and then, extracting pages to views is not a concern (if you would extract than... eg. Astro too have pages so it's noop)

AleksandarDev avatar Dec 11 '23 15:12 AleksandarDev