Hey! I have two problems of integration FSD and NextJS. Follow the next docs: https://feature-sliced.design/docs/guides/tech/with-nextjs
I see two strategies from the docs:
But anyway, if we didn't use it page router (and use app router), I think it's a bad way to move source code out of src folder by semantic. Also, nextjs in any major version can disallow app/page folder out of src and we will make it impossible to use nextjs and FSD together without renaming the layer.
Possible solution
Allow renaming layer in steiger + write a common doc about integration with framework and how to solve layer's naming conflict.
Hey! I have two problems of integration FSD and NextJS. Follow the next docs: https://feature-sliced.design/docs/guides/tech/with-nextjs
I see two strategies from the docs:
next.config.js(experimental.appDir = false).But anyway, if we didn't use it page router (and use app router), I think it's a bad way to move source code out of src folder by semantic. Also, nextjs in any major version can disallow app/page folder out of src and we will make it impossible to use nextjs and FSD together without renaming the layer.
Possible solution
Allow renaming layer in steiger + write a common doc about integration with framework and how to solve layer's naming conflict.