Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pages/View] Views seem redundant #521

Open
AleksandarDev opened this issue Dec 11, 2023 · 0 comments
Open

[Pages/View] Views seem redundant #521

AleksandarDev opened this issue Dec 11, 2023 · 0 comments

Comments

@AleksandarDev
Copy link
Member

AleksandarDev commented Dec 11, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant